Unexpected token o in JSON at position 1
?Jul 05 2020 15:52:29 GMT+0800 (中國標準時間) sitemap 索引情況提示
VM6478:1? 根據 sitemap 的規則[0],當前頁面 [pages/movie/movie] 將被索引
console.warn @ VM6478:1
(anonymous) @ VM6606:6
(anonymous) @ VM6606:13
movie.js? [sm]:23 {errMsg: "cloud.callFunction:ok", result: {…}, requestID: "7a4978fa-be94-11ea-a3d6-525400dd5846"}
VM6478:1 SyntaxError: Unexpected token o in JSON at position 1
? ? at JSON.parse (<anonymous>)
? ? at movie.js? [sm]:25
console.error @ VM6478:1
(anonymous) @ movie.js? [sm]:28
Promise.catch (async)
onLoad @ movie.js? [sm]:16
(anonymous) @ WAService.js:1
p.__callPageLifeTime__ @ WAService.js:1
Tt @ WAService.js:1
(anonymous) @ WAService.js:1
xt @ WAService.js:1
(anonymous) @ WAService.js:1
(anonymous) @ WAService.js:1
i.emit @ WAService.js:1
emit @ WAService.js:1
(anonymous) @ WAService.js:1
(anonymous) @ WAService.js:1
o @ VM6482 asdebug.js:1
(anonymous) @ VM6482 asdebug.js:1
(anonymous) @ VM6482 asdebug.js:1
_ws.onmessage @ VM6482 asdebug.js:1
2020-07-05
需要檢查數據格式是否有問題。
2020-07-06
文件編譯錯誤是啥原因
2020-07-06
VM5599:1 ./pages/movie/movie.wxml
?unexpected character `
`
? 2 |? ?<image src="{{item.images.small}}"></image>
? 3 |? ?<view class=movie-info"">
> 4 |? ? ?<view class="movie-title">{{item.title}}</view>
? ? | ^
? 5 |? ? ?<view>觀眾評分: {{item.rating.average}}分</view>
? 6 |? ? ?<view wx:for="{{item.casts}}">{{item.name}}</view>
? 7 |? ? ?<view>年份: {{item.year}}</view>
at files://miniprogram\pages\movie\movie.wxml#4
console.error @ VM5599:1
(anonymous) @ VM5605:2