|
|
@ -109,13 +109,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
<a-form-item label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<div> |
|
|
|
<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-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)}...` }} |
|
|
|
{{ `${tag.slice(0, 20)}...` }} |
|
|
|
</a-tag> |
|
|
|
</a-tag> |
|
|
|
</a-tooltip> |
|
|
|
</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 }} |
|
|
|
{{ tag }} |
|
|
|
</a-tag> |
|
|
|
</a-tag> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|