14477 三项数据库都有 编辑上一个的时候有15个标签的提示,编辑下一就2个标签还在提示
parent
4e07ba10d7
commit
ea75b6c121
|
@ -270,6 +270,7 @@ export default {
|
||||||
this.dialogVisible = false
|
this.dialogVisible = false
|
||||||
this.$emit('logical-end', { result: 'OK' })
|
this.$emit('logical-end', { result: 'OK' })
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
|
this.clear()
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
loading.close()
|
loading.close()
|
||||||
console.log(e)
|
console.log(e)
|
||||||
|
@ -281,6 +282,8 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
checkForm() {
|
checkForm() {
|
||||||
|
console.log(this.form.labels.length, 'this.form.labels.length')
|
||||||
|
console.log(this.form.labels, 'this.form.labels')
|
||||||
if (this.form.labels.length > 15) {
|
if (this.form.labels.length > 15) {
|
||||||
this.$message.error('关联标签数不能超过15个')
|
this.$message.error('关联标签数不能超过15个')
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue