fix(项目设置): 对接第三方自定义字段置为空
--bug=1048872 --user=宋昌昌 【项目设置】github#34138,对接第三方平台时,缺陷和需求类型打开时被置为空 https://www.tapd.cn/55049933/s/1622129
This commit is contained in:
parent
63a1449c42
commit
fdbce0ecb7
|
@ -270,6 +270,7 @@ export default {
|
|||
this.setFormData();
|
||||
|
||||
this.$emit("change", this.data[this.formProp]);
|
||||
this.$set(this.form, this.data[this.formProp], this.data[this.prop]);
|
||||
this.$forceUpdate();
|
||||
if (this.data.inputSearch) {
|
||||
// 将选项的选项名保存在 optionLabel 中
|
||||
|
@ -340,7 +341,7 @@ export default {
|
|||
this.loading = false;
|
||||
},
|
||||
setFormData() {
|
||||
if (this.form && this.data) {
|
||||
if (this.form && this.data && this.data[this.prop]) {
|
||||
this.$set(this.form, this.data[this.formProp], this.data[this.prop]);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue