提交不允许非管理员移动文件
This commit is contained in:
parent
75127e0d1d
commit
cf9fcbf83a
@ -1107,7 +1107,7 @@
|
||||
this.$message({message: '文件夹不可进行移动操作!!',type: 'warning'});
|
||||
return;
|
||||
}
|
||||
if (this.singleSelectedRepository.isPublish == true) {
|
||||
if (this.singleSelectedRepository.isPublish == true && "admin" != this.crrentUserId) {
|
||||
this.$message({message: '当前文件已处于发布状态,不可进行移动文件操作!!', type: 'warning'});
|
||||
return;
|
||||
}
|
||||
@ -1127,7 +1127,7 @@
|
||||
return;
|
||||
}
|
||||
if(this.checkedRepositorys[i].versionStatus!=""){
|
||||
if(this.checkedRepositorys[i].versionStatus.isPublish==true){
|
||||
if(this.checkedRepositorys[i].versionStatus.isPublish==true && "admin" != this.crrentUserId){
|
||||
this.$message({message: '当前文件已处于发布状态,不可进行移动文件操作!!',type: 'warning'});
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user