Skip to content

Commit 1c0b517

Browse files
committed
fix(dataset): 修复执行后导致数据数据重复问题
1 parent 65f1c8f commit 1c0b517

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/datacap-ui/src/views/pages/admin/dataset/DatasetInfo.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ export default defineComponent({
463463
.then((response) => {
464464
if (response.status) {
465465
this.data = response
466+
this.columnDefs = []
466467
response.data?.headers.forEach((header: any) => {
467468
const columnDef: GridColumn = { headerName: header, field: header }
468469
this.columnDefs.push(columnDef)

0 commit comments

Comments
 (0)