|
|
|
@ -109,13 +109,13 @@ |
|
|
|
|
|
|
|
|
|
<a-form-item label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<div> |
|
|
|
|
<template v-for="(tag, index) in tags"> |
|
|
|
|
<template v-for="tag in tags"> |
|
|
|
|
<a-tooltip v-if="tag.length > 20" :key="tag" :title="tag"> |
|
|
|
|
<a-tag :key="tag" :closable="index !== 0" @close="() => handleCloseTag(tag)"> |
|
|
|
|
<a-tag :key="tag" closable @close="() => handleCloseTag(tag)"> |
|
|
|
|
{{ `${tag.slice(0, 20)}...` }} |
|
|
|
|
</a-tag> |
|
|
|
|
</a-tooltip> |
|
|
|
|
<a-tag v-else :key="tag" :closable="index !== 0" @close="() => handleCloseTag(tag)"> |
|
|
|
|
<a-tag v-else :key="tag" closable @close="() => handleCloseTag(tag)"> |
|
|
|
|
{{ tag }} |
|
|
|
|
</a-tag> |
|
|
|
|
</template> |
|
|
|
|