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. 2
      vueJs/src/views/container/menus/components/CreateOrUpdateMenuDialog.vue

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

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

Loading…
Cancel
Save