【修改】修改权限
This commit is contained in:
@@ -304,12 +304,14 @@ export default {
|
||||
}
|
||||
// 有预览权限的时候是否还让继续申请
|
||||
let temp=this.checkList.filter(item =>{
|
||||
if(+item.power == 1 || +item.power == 2){
|
||||
if( +item.power == 2){
|
||||
return item.name
|
||||
}
|
||||
})
|
||||
console.log(temp)
|
||||
if(temp.length>0) {
|
||||
this.$message.warning("当前选择的"+temp.toString()+"已经有权限,无须申请!")
|
||||
let name=temp.map(item=>item.name)
|
||||
this.$message.warning("当前选择的"+name.join(',')+"已经有权限,无须申请!")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user