add ProductTab
This commit is contained in:
+1
-1
@@ -129,7 +129,7 @@ async function resolveStoreAccessRedirect(to: RouteLocationNormalized): Promise<
|
||||
const routeName = String(to.name || "");
|
||||
const storeDiaryRouteNameList = ["StoreDiaryList", "StoreDiaryCreate", "StoreDiaryDetail", "StoreDiaryEdit"];
|
||||
if (storeDiaryRouteNameList.includes(routeName)) {
|
||||
if (!userStore.hasRoles(gaoRoleCodes.storeManager) || userStore.hasRoles(gaoRoleCodes.globalManager)) {
|
||||
if (!userStore.hasRoles(gaoRoleCodes.storeManager)) {
|
||||
return "/management";
|
||||
}
|
||||
const currentStoreStore = useCurrentStoreStore();
|
||||
|
||||
Reference in New Issue
Block a user