From 775fc7644f4c248ad8d6c12a78c096dcb5d23278 Mon Sep 17 00:00:00 2001 From: taohebin Date: Thu, 20 Jul 2023 17:04:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/long-list/long-list.uvue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/component/long-list/long-list.uvue b/pages/component/long-list/long-list.uvue index 69123486..5b2e5f0a 100644 --- a/pages/component/long-list/long-list.uvue +++ b/pages/component/long-list/long-list.uvue @@ -50,8 +50,8 @@ fileManager.readFile({ encoding:'utf-8', filePath:'static/list-mock/mock.json', - success:function(result:ReadFileSuccessResult){ - const content = result.content; + success:function(result){ + const content = result.data; if (content != null){ const items = [] as Item[]; const jsonArr = JSON.parse(content); -- GitLab