fix(测试跟踪): 集成Tapd创建缺陷接口提示

--bug=1043287 --user=宋昌昌 【测试跟踪】集成tapd-非超级管理员用户-创建缺陷-会提示「当前用户没有操作此用例的权限」,但可以创建成功 https://www.tapd.cn/55049933/s/1585081
This commit is contained in:
song-cc-rock 2024-09-24 17:24:31 +08:00 committed by Craftsman
parent 32cbc0b368
commit cbd610b083
2 changed files with 4 additions and 2 deletions

View File

@ -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]);
}
},

View File

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