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

pull/103/head^2
小诺 2 years ago
parent 183ea32be6
commit cc06c12f8c

@ -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) => {

@ -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 = () => {

Loading…
Cancel
Save