Ver Fonte

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

hbchen há 4 meses atrás
pai
commit
175283f474
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/datasheet_manage/components/MixedTable.vue

+ 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')
     }
   },