【修复】修复首页两个日志模块超管不显示更多按钮的问题

pull/98/head
小诺 2023-03-26 16:06:20 +08:00 committed by 俞宝山
parent 516e5f9566
commit a085116ae9
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
//
const displayMore = () => {
return userInfo.roleCodeList && userInfo.roleCodeList.indexOf('super') !== -1
return userInfo.roleCodeList && userInfo.roleCodeList.toString().indexOf('superAdmin') !== -1
}
const seleOpLogList = () => {
indexApi.indexOpLogList().then((data) => {

View File

@ -25,7 +25,7 @@
})
//
const displayMore = () => {
return userInfo.roleCodeList && userInfo.roleCodeList.indexOf('super') !== -1
return userInfo.roleCodeList && userInfo.roleCodeList.toString().indexOf('superAdmin') !== -1
}
//
const seleVisLogList = () => {