修改登录接口 修改监控详情

This commit is contained in:
zhoulingpo
2023-04-21 10:22:05 +08:00
parent 762be6b161
commit 4884bd4b50
5 changed files with 32 additions and 108 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ export default {
this.menuData = this.addLevel(treeData, 1)
},
getSysMenu () {
this.$api.menu.getSysMenu({ roleId: this.$store.state.userInfo.roleIdList[0] }).then(({ data }) => {
this.$api.menu.getSysMenu({ roleId: this.$store.getters.userInfo.roleIdList[0] }).then(({ data }) => {
if (data === null) {
data = []
}