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

pull/103/head^2
小诺 2023-03-26 16:06:20 +08:00
parent 183ea32be6
commit cc06c12f8c
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 = () => {