Commit cc568850 by zhangxw

去掉调试

1 parent 42489235
...@@ -165,14 +165,6 @@ SecurityController.getUserAuthentication(axiosInstance as AxiosStatic, null).the ...@@ -165,14 +165,6 @@ SecurityController.getUserAuthentication(axiosInstance as AxiosStatic, null).the
authService.setAuthentication(authenticity); authService.setAuthentication(authenticity);
//将当前用户信息写入vuex的store中 //将当前用户信息写入vuex的store中
store.commit('security/changeAuthenticity', authenticity); store.commit('security/changeAuthenticity', authenticity);
// 开发调试
authenticity.privileges[9].children.push({
code: 'platform_contract',
name: '平台合同管理',
type: "MENU",
value: "/business/platformContract",
enabled: true
})
//将用户的权限树写入到vuex的store中 //将用户的权限树写入到vuex的store中
store.commit('security/changePrivileges', authenticity.privileges ?? []); store.commit('security/changePrivileges', authenticity.privileges ?? []);
app.mount('#app'); app.mount('#app');
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!