From 6c7b1f7ccacf0041f0dff2f0094154a75ef92137 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 22 Sep 2021 13:50:21 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=BC=BA=E9=99=B7=E5=A4=8D?= =?UTF-8?q?=E5=88=B6=E4=B8=8D=E8=83=BD=E5=A4=8D=E5=88=B6=E4=B8=8D=E6=98=AF?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E6=A8=A1=E6=9D=BF=E5=B9=B3=E5=8F=B0=E7=9A=84?= =?UTF-8?q?=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/business/components/track/issue/IssueList.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/frontend/src/business/components/track/issue/IssueList.vue b/frontend/src/business/components/track/issue/IssueList.vue index 6fe5e19ad0..b6631db62a 100644 --- a/frontend/src/business/components/track/issue/IssueList.vue +++ b/frontend/src/business/components/track/issue/IssueList.vue @@ -208,7 +208,6 @@ export default { { tip: this.$t('commons.edit'), icon: "el-icon-edit", exec: this.handleEdit, - isDisable: this.btnDisable, permissions: ['PROJECT_TRACK_ISSUE:READ+EDIT'] }, { tip: this.$t('commons.copy'), icon: "el-icon-copy-document", type: "success", @@ -217,7 +216,6 @@ export default { }, { tip: this.$t('commons.delete'), icon: "el-icon-delete", type: "danger", exec: this.handleDelete, - isDisable: this.btnDisable, permissions: ['PROJECT_TRACK_ISSUE:READ+DELETE'] } ], @@ -314,10 +312,10 @@ export default { }); }, btnDisable(row) { - // if (row.platform === 'Local' || row.platform === 'Jira') { - return false; - // } - // return true; + if (this.issueTemplate.platform !== row.platform) { + return true; + } + return false; }, syncIssues() { this.page.result = syncIssues(() => {