Skip to content

Commit 86f3209

Browse files
authored
fix(dataset): 修复执行后导致数据数据重复问题 (#946)
2 parents 18c2f94 + 1c0b517 commit 86f3209

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)