解决新增功能菜单时状态保存失败的bug

This commit is contained in:
季圣华
2022-01-15 20:35:55 +08:00
parent 5e379f3750
commit 2d04006561

View File

@@ -109,6 +109,8 @@
}, },
add () { add () {
this.edit({}); this.edit({});
this.model.enabled = true
this.enabledSwitch = true
}, },
edit (record) { edit (record) {
this.form.resetFields(); this.form.resetFields();