@@ -17,7 +17,8 @@ export const useAppStore = defineStore('app', {
getters: {
isSuperAdmin() {
return (
- this.userInfo?.loginId === (import.meta as any).env.VITE_SUPER_ADMIN
+ this.userInfo?.loginId === (import.meta as any).env.VITE_SUPER_ADMIN ||
+ this.userInfo?.type == 0
)
},