Browse Source

The component of the menu only needs to set the default value in the non-edit state

pull/164/head
cKey 5 years ago
parent
commit
b07ed843fc
  1. 8
      vueJs/src/views/container/menus/components/CreateOrUpdateMenuDialog.vue

8
vueJs/src/views/container/menus/components/CreateOrUpdateMenuDialog.vue

@ -278,10 +278,10 @@ export default class CreateOrUpdateMenuDialog extends Vue {
if (layout) {
if (!this.isEdit) {
this.menu.meta = {}
}
if (!this.parentId) {
// ,
this.menu.component = layout.path
if (!this.parentId) {
// ,
this.menu.component = layout.path
}
}
DataService
.get(layout.dataId)

Loading…
Cancel
Save