bug 78585
This commit is contained in:
@@ -197,7 +197,7 @@ export default {
|
|||||||
clickEvent: 'subscribe',
|
clickEvent: 'subscribe',
|
||||||
has: 'documentComparison:publishWithdraw',
|
has: 'documentComparison:publishWithdraw',
|
||||||
show: (record) => {
|
show: (record) => {
|
||||||
return (record.createBy === this.userInfo.username || this.administrators) && (!record.releaseState || record.releaseState === 'draft')
|
return record.createBy === this.userInfo.username && (!record.releaseState || record.releaseState === 'draft')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 撤回
|
// 撤回
|
||||||
@@ -206,8 +206,7 @@ export default {
|
|||||||
clickEvent: 'subscribe',
|
clickEvent: 'subscribe',
|
||||||
has: 'documentComparison:publishWithdraw',
|
has: 'documentComparison:publishWithdraw',
|
||||||
show: (record) => {
|
show: (record) => {
|
||||||
console.log(this.administrators)
|
return record.createBy === this.userInfo.username && !(!record.releaseState || record.releaseState === 'draft')
|
||||||
return (record.createBy === this.userInfo.username || this.administrators) && !(!record.releaseState || record.releaseState === 'draft')
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 编辑
|
// 编辑
|
||||||
|
|||||||
Reference in New Issue
Block a user