Pārlūkot izejas kodu

bug4982 混合表格,插入指标库指标后,指标来源未显示

hbchen 4 mēneši atpakaļ
vecāks
revīzija
175283f474

+ 1 - 1
src/views/datasheet_manage/components/MixedTable.vue

@@ -1309,7 +1309,7 @@ export default {
       if(!source) return
       let concatSourceArr = this.sourceFrom.text?`${this.sourceFrom.text},${source}`.split(','):[source];
       let sourceStr = Array.from(new Set(concatSourceArr)).join(',');
-      this.sourceFrom.text=sourceStr
+      this.$set(this.sourceFrom,'text',sourceStr)
       this.$emit('updateSourceName')
     }
   },