提交 5953ff6c authored 作者: pengxiaohui's avatar pengxiaohui

bug fixes

上级 9aae4aa7
...@@ -31,7 +31,7 @@ export default ({ ...@@ -31,7 +31,7 @@ export default ({
isReviewRecurring() { isReviewRecurring() {
let isSuperAdmin = false let isSuperAdmin = false
if (this.roles) { if (this.roles) {
this.roles.forEach(item => { this.roles.forEach(role => {
if (role.name === 'administrator') { if (role.name === 'administrator') {
isSuperAdmin = true isSuperAdmin = true
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论