tangning 4 달 전
부모
커밋
19a0f799b4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/store/modules/user.ts

+ 1 - 1
src/store/modules/user.ts

@@ -158,7 +158,7 @@ export const useUserStore = defineStore({
         this.setRoleList([RoleEnum.SUPER, RoleEnum.TEST]);
       } else if (agent) {
         const myRoles =
-          agent.agentLevel == 2
+          agent.agentLevel == 1
             ? RoleEnum.LEVEL2
             : agent.agentLevel != 0
             ? RoleEnum.DISTRIBUTOR