Browse Source

数据集新增编辑后刷新问题

Raod 4 years ago
parent
commit
99ba1e19f3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      report-ui/src/views/report/resultset/components/EditDataSet.vue

+ 2 - 0
report-ui/src/views/report/resultset/components/EditDataSet.vue

@@ -834,10 +834,12 @@ export default {
             if (this.dialogFormVisibleTitle === "新增数据集") {
               const { code } = await addDataSet(this.formData);
               if (code != "200") return;
+              this.$emit('refreshList')
               this.closeDialog();
             } else {
               const { code } = await editDataSet(this.formData);
               if (code != "200") return;
+              this.$emit('refreshList')
               this.closeDialog();
             }
           } else {