Skip to content

Commit b21d963

Browse files
committed
fix(System Variables): Batch delete on the last page. All variables will disappear after deletion; a forced refresh is required.
1 parent a357dd0 commit b21d963

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/views/system/variables/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const deleteBatchUser = () => {
8282
message: t('dashboard.delete_success'),
8383
})
8484
multipleSelectionAll.value = []
85-
search()
85+
handleCurrentChange(1)
8686
})
8787
})
8888
}
@@ -102,7 +102,7 @@ const deleteHandler = (row: any) => {
102102
type: 'success',
103103
message: t('dashboard.delete_success'),
104104
})
105-
search()
105+
handleCurrentChange(1)
106106
})
107107
})
108108
}
@@ -258,7 +258,7 @@ const saveHandler = () => {
258258
type: 'success',
259259
message: t('common.save_success'),
260260
})
261-
search()
261+
handleCurrentChange(1)
262262
onFormClose()
263263
})
264264
}

0 commit comments

Comments
 (0)