From 9d05e3cb9907cfe8ec40edb5094e8262080c7e45 Mon Sep 17 00:00:00 2001
From: zhaojun <873019219@qq.com>
Date: Sat, 26 Nov 2022 18:18:48 +0800
Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E9=87=8D=E6=9E=84=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/file.vue | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/src/pages/file.vue b/src/pages/file.vue
index 11f85bf..44f5a03 100644
--- a/src/pages/file.vue
+++ b/src/pages/file.vue
@@ -275,7 +275,7 @@
-
+
@@ -499,19 +499,12 @@ let { checkSelectable, selectRowsChange, selectRow, selectRows, selectStatistics
// 初始化时,加载文件列表
onBeforeMount(() => {
- loadFileAndConfig();
+ loadFile();
})
-const loadFileAndConfig = () => {
- if (route.params.storageKey) {
- loadFile();
- loadFileConfig();
- }
-}
-
// 切换存储源或路径时,重新加载文件列表
watch(() => [route.params.storageKey, route.params.fullpath], () => {
- loadFileAndConfig();
+ loadFile();
})
const {