diff --git a/pages/component/long-list/long-list.uvue b/pages/component/long-list/long-list.uvue index 69123486d2f350044087760c499a544c127c0912..5b2e5f0a30b9ad9bcab5d2cf55ec8d1963182295 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);