添加取消按钮刷新列表

This commit is contained in:
RenCheng 2025-02-22 12:42:11 +08:00
parent ef1f20de56
commit 952f8d040b

View File

@ -178,10 +178,6 @@ import { datasyncqueryPage,
methods: {
add () {
this.visible =true;
let that = this;
that.form.resetFields();
console.log(record);
this.model = Object.assign({},record);
this.getselect();
},
edit (record) {
@ -362,7 +358,7 @@ import { datasyncqueryPage,
this.$emit('ok');
},
close () {
this.$emit('close');
this.$emit('ok');
this.visible = false;
},
handleOk () {
@ -370,6 +366,7 @@ import { datasyncqueryPage,
this.close();
},
handleCancel () {
this.$emit('ok');
this.close()
},
}