feat: 冗余代码
This commit is contained in:
@@ -426,7 +426,7 @@
|
||||
//更多按钮
|
||||
openPage(path, type) {
|
||||
if (type === 'approve') {
|
||||
let workFlowList = this.menuList.filter(o => o.enCode === 'workFlow')
|
||||
let workFlowList =this.menuList && this.menuList.filter(o => o.enCode === 'workFlow')
|
||||
console.log(this.menuList,'menuList---------')
|
||||
if (!workFlowList[0]?.children?.length) return this.$u.toast('暂无权限')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user