Commit 2d040065 authored by 季圣华's avatar 季圣华
Browse files

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

parent 5e379f37
...@@ -109,6 +109,8 @@ ...@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment