【修改bug】能输入20个
This commit is contained in:
@@ -176,7 +176,7 @@
|
|||||||
<el-form-item label="关键词:">
|
<el-form-item label="关键词:">
|
||||||
<vue-tags-input placeholder="请输入关键词" v-model="reportF.tags" :tags="tags"
|
<vue-tags-input placeholder="请输入关键词" v-model="reportF.tags" :tags="tags"
|
||||||
@tags-changed=" newTags =>{
|
@tags-changed=" newTags =>{
|
||||||
if(newTags[newTags.length - 1].text.length < 20){
|
if(newTags[newTags.length - 1].text.length <= 20){
|
||||||
if(tags.length < 10){
|
if(tags.length < 10){
|
||||||
tags = newTags
|
tags = newTags
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user