uni-app调用本地json解析实现方法
1.创建一个data/data.js文件,存放数据const data = [{ id: "1", name: "张三", position: "../../static/ren/tx1.jpg", identity: "管理员", },{ id: "2", name: "李四", position: "../../static/ren/tx2.jpg", identity: "游客" }, { id: "3", name: "陈五", position:
原创
2020-12-28 16:27:02 ·
6668 阅读 ·
0 评论