tangning 4 tháng trước cách đây
mục cha
commit
19a0f799b4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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