14477 三项数据库都有 编辑上一个的时候有15个标签的提示,编辑下一就2个标签还在提示

5_7_地图同步
liujun 2024-03-12 14:31:01 +08:00
parent 4e07ba10d7
commit ea75b6c121
1 changed files with 3 additions and 0 deletions

View File

@ -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