|
@ -413,8 +413,8 @@ export default { |
|
|
duration: 2000, |
|
|
duration: 2000, |
|
|
}); |
|
|
}); |
|
|
this.treeLoading = false; |
|
|
this.treeLoading = false; |
|
|
// 如果更改的是当前用户,则页面刷新 |
|
|
// 如果当前用户的权限包含更改的权限,则页面刷新 |
|
|
if(this.multipleSelection[0].name == this.$store.getters.currentUserInfo.name){ |
|
|
if(this.$store.getters.currentUserInfo.roles.indexOf(this.multipleSelection[0].name) >= 0){ |
|
|
location.reload() |
|
|
location.reload() |
|
|
} |
|
|
} |
|
|
}).catch(()=>{ |
|
|
}).catch(()=>{ |
|
|