mirror of https://gitee.com/xiaonuobase/snowy
【修复】修复首页两个日志模块超管不显示更多按钮的问题
parent
516e5f9566
commit
a085116ae9
|
@ -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…
Reference in New Issue