yinbangzhong
2024-08-16 a8bbd82b4ea382633b8e8c4075290cd3eea50d45
src/store/modules/user/index.ts
@@ -78,8 +78,6 @@
        };
        if(res.data.roles && res.data.roles.length>0)
            this.resources=res.data.roles[0].resources;
        else
            this.resources=res.data.resources;
        setUserInfo(JSON.stringify(userInfo));
        setUserResources(JSON.stringify(this.resources))
        for (const r of this.resources) {