小程序報錯pages/xxx/xxx.json 文件解析錯誤 SyntaxError: Unexpected end of JSON input

TypeError:Cannot read property'file'of undefined pages/xxx/xxx.json 文件解析錯誤  SyntaxError: Unexpected end of JSON input 報這個錯那是因爲json裏空的,如果沒有配置需求,只需要在.json文件里加個 {   }  大括號即可
相關文章
相關標籤/搜索