perf: 优化列表页面请求两次的问题

This commit is contained in:
xiaojunnuo
2026-06-05 00:23:08 +08:00
parent 99fd3083f2
commit 5546af518e
43 changed files with 62 additions and 51 deletions
@@ -56,7 +56,7 @@ const handleBatchDelete = () => {
// 页面打开后获取列表数据
onMounted(() => {
crudExpose.doRefresh();
// crudExpose.doRefresh();
});
onActivated(async () => {
await crudExpose.doRefresh();
@@ -62,7 +62,7 @@ const handleBatchDelete = () => {
// 页面打开后获取列表数据
onMounted(() => {
crudExpose.doRefresh();
// crudExpose.doRefresh();
});
onActivated(async () => {
await crudExpose.doRefresh();
@@ -53,7 +53,7 @@ const handleBatchDelete = () => {
// 页面打开后获取列表数据
onMounted(() => {
crudExpose.doRefresh();
// crudExpose.doRefresh();
});
onActivated(async () => {
await crudExpose.doRefresh();