diff --git a/src/views/dashboard/YshopInfo.vue b/src/views/dashboard/YshopInfo.vue
index 6e88e18..4cfc780 100644
--- a/src/views/dashboard/YshopInfo.vue
+++ b/src/views/dashboard/YshopInfo.vue
@@ -70,7 +70,7 @@
-
+
@@ -88,9 +88,9 @@ export default {
]
},
permission: {
- add: ['admin', 'cate:add'],
- edit: ['admin', 'cate:edit'],
- del: ['admin', 'cate:del']
+ add: ['admin', 'YXSTORECATEGORY_CREATE'],
+ edit: ['admin', 'YXSTORECATEGORY_EDIT'],
+ del: ['admin', 'YXSTORECATEGORY_DELETE']
},
enabledTypeOptions: [
{ key: 'true', display_name: '正常' },
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index 362bad9..3e2afe2 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -157,7 +157,7 @@ import udOperation from '@crud/UD.operation'
// crud交由presenter持有
const defaultCrud = CRUD({ title: '菜单', url: 'api/menus', crudMethod: { ...crudMenu }})
-const defaultForm = { name: null, sort: 999, path: null, component: null, componentName: null, iframe: false, roles: [], pid: 0, icon: null, cache: false, hidden: false, type: 0, permission: null }
+const defaultForm = { id: null, name: null, sort: 999, path: null, component: null, componentName: null, iframe: false, roles: [], pid: 0, icon: null, cache: false, hidden: false, type: 0, permission: null }
export default {
name: 'Menu',
components: { Treeselect, IconSelect, crudOperation, rrOperation, udOperation },