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

Raod 3 years ago
parent 3f83a95dd8
commit 99ba1e19f3

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

Loading…
Cancel
Save