From 5557d664a75b098c0829e70e625a87f24feca227 Mon Sep 17 00:00:00 2001 From: wanganxp Date: Tue, 26 Mar 2024 05:34:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=99=9A=E6=8B=9F=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=9A=84=E6=8E=AA=E8=BE=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 2 +- .../API/get-file-system-manager/get-file-system-manager.uvue | 3 ++- pages/tabBar/template.uvue | 2 +- pages/template/custom-long-list/custom-long-list.uvue | 5 +++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pages.json b/pages.json index 1f2e70b8..7c284334 100644 --- a/pages.json +++ b/pages.json @@ -1274,7 +1274,7 @@ { "path" : "pages/template/custom-long-list/custom-long-list", "style" : { - "navigationBarTitleText" : "自行实现长列表组件", + "navigationBarTitleText" : "自定义虚拟长列表", "enablePullDownRefresh" : false } } diff --git a/pages/API/get-file-system-manager/get-file-system-manager.uvue b/pages/API/get-file-system-manager/get-file-system-manager.uvue index 0cc90a77..e17bfa80 100644 --- a/pages/API/get-file-system-manager/get-file-system-manager.uvue +++ b/pages/API/get-file-system-manager/get-file-system-manager.uvue @@ -78,7 +78,8 @@ const fileManager = uni.getFileSystemManager() fileManager.stat({ - path: `${this.basePath}${this.statFile}`, + // path: `${this.basePath}${this.statFile}`, //USER_DATA_PATH + path: `${this.globalTempPath}${this.statFile}`, //CACHE_PATH recursive: this.recursiveVal, success: (res : StatSuccessResult) => { if (this.logAble) { diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue index 276ab8ee..a0e2d85d 100644 --- a/pages/tabBar/template.uvue +++ b/pages/tabBar/template.uvue @@ -113,7 +113,7 @@ { id: 'custom-long-list', url: 'custom-long-list', - name: '自行实现长列表组件', + name: '自定义虚拟长列表', open: false, pages: [] as Page[], }, diff --git a/pages/template/custom-long-list/custom-long-list.uvue b/pages/template/custom-long-list/custom-long-list.uvue index 638bc9c1..35b53e2b 100644 --- a/pages/template/custom-long-list/custom-long-list.uvue +++ b/pages/template/custom-long-list/custom-long-list.uvue @@ -1,7 +1,8 @@