diff --git a/src/views/threeSystems/safetyOperationRegulations/components/editTextLibrary.vue b/src/views/threeSystems/safetyOperationRegulations/components/editTextLibrary.vue index ae0c23d..a2f4635 100644 --- a/src/views/threeSystems/safetyOperationRegulations/components/editTextLibrary.vue +++ b/src/views/threeSystems/safetyOperationRegulations/components/editTextLibrary.vue @@ -270,6 +270,7 @@ export default { this.dialogVisible = false this.$emit('logical-end', { result: 'OK' }) this.$message.success('保存成功') + this.clear() }).catch((e) => { loading.close() console.log(e) @@ -281,6 +282,8 @@ export default { }) }, 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) { this.$message.error('关联标签数不能超过15个') return true