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; });