小程序采坑之静态资源和页面地址不能有空格,否则会提示文件不存在
时间:2019-04-27 10:16:20
收藏:0
阅读:142
如题
{ "pagePath": " pages/tupian/tupian", "text": "图片", "iconPath": " /images/img.png", "selectedIconPath": "/images/imgs.png" }
如果是上面这样写肯定会报错的,前面有空格,当时找这个错误找了很长时间,一定要注意
评论(0)