【修改bug】能输入20个

This commit is contained in:
zhoulingpo
2023-04-27 09:49:18 +08:00
parent 30a8fb5a23
commit c6a5368751
+1 -1
View File
@@ -176,7 +176,7 @@
<el-form-item label="关键词:">
<vue-tags-input placeholder="请输入关键词" v-model="reportF.tags" :tags="tags"
@tags-changed=" newTags =>{
if(newTags[newTags.length - 1].text.length < 20){
if(newTags[newTags.length - 1].text.length <= 20){
if(tags.length < 10){
tags = newTags
}else{