浏览代码

修改bug

hzj18279462576@163.com 11 月之前
父节点
当前提交
1d5ca1e73e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/stores/index.js

+ 1 - 1
src/stores/index.js

@@ -184,7 +184,7 @@ export const useCounterStore = defineStore("user", {
           let arr = roles.dormitoryMoneySetting.split(",");
           arr.forEach((i) => {
             btn.push(`dormitoryMoneySetting${i}`);
-            if (i == 2) {
+            if (i == 6) {
               this.roleList.push({
                 name: "选宿舍金额设置 ",
                 path: "/moneySetting",