diff --git a/app/stores/system.ts b/app/stores/system.ts index 074bbf3..8d08a9a 100644 --- a/app/stores/system.ts +++ b/app/stores/system.ts @@ -209,6 +209,7 @@ export const useSystemStore = defineStore('system', { type: this.convertMenuType(item.type), target: item.target ? this.convertTarget(item.target) : LinkTarget.SELF, permissions: item.meta?.permissions || item.code || [], + code: item.code || '', ...(item.meta || {}) }, extra: item.extra || {},