提交 775fc764 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

fix: 修改参数

上级 a7d9aa1d
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册