解决新增功能菜单时状态保存失败的bug
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user