diff --git a/src/views/security/menu/MenuForm.vue b/src/views/security/menu/MenuForm.vue index 7cbf0c5..305cb92 100644 --- a/src/views/security/menu/MenuForm.vue +++ b/src/views/security/menu/MenuForm.vue @@ -175,6 +175,7 @@ export default { this.visibleDef = true } this.form.getFieldDecorator('visible', { valuePropName: 'checked', initialValue: this.visibleDef }) + this.treeSelDefaultValue = record.id; setTimeout(() => { this.setMenuItem(record) diff --git a/src/views/security/menu/MenuList.vue b/src/views/security/menu/MenuList.vue index 1bdf9b6..3568592 100644 --- a/src/views/security/menu/MenuList.vue +++ b/src/views/security/menu/MenuList.vue @@ -44,9 +44,9 @@