From cbd610b083e06744d8c1350ad5a7d2fd560fc5b3 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Tue, 24 Sep 2024 17:24:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=20=E9=9B=86=E6=88=90Tapd=E5=88=9B=E5=BB=BA=E7=BC=BA=E9=99=B7?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1043287 --user=宋昌昌 【测试跟踪】集成tapd-非超级管理员用户-创建缺陷-会提示「当前用户没有操作此用例的权限」,但可以创建成功 https://www.tapd.cn/55049933/s/1585081 --- .../frontend/src/components/template/CustomFiledComponent.vue | 2 +- test-track/frontend/src/business/issue/IssueEditDetail.vue | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/framework/sdk-parent/frontend/src/components/template/CustomFiledComponent.vue b/framework/sdk-parent/frontend/src/components/template/CustomFiledComponent.vue index 9e220dd161..31df33a5b7 100644 --- a/framework/sdk-parent/frontend/src/components/template/CustomFiledComponent.vue +++ b/framework/sdk-parent/frontend/src/components/template/CustomFiledComponent.vue @@ -340,7 +340,7 @@ export default { this.loading = false; }, setFormData() { - if (this.form && this.data && this.data[this.prop]) { + if (this.form && this.data) { this.$set(this.form, this.data[this.formProp], this.data[this.prop]); } }, diff --git a/test-track/frontend/src/business/issue/IssueEditDetail.vue b/test-track/frontend/src/business/issue/IssueEditDetail.vue index c00fadba62..5875e5d429 100644 --- a/test-track/frontend/src/business/issue/IssueEditDetail.vue +++ b/test-track/frontend/src/business/issue/IssueEditDetail.vue @@ -641,7 +641,9 @@ export default { }; if (platform === "Tapd") { this.hasTapdId = true; - this.getTapdCurrentOwner(); + if (this.form.id) { + this.getTapdCurrentOwner(); + } getTapdUser(data).then((response) => { this.tapdUsers = response.data; });