为了账号安全,请及时绑定邮箱和手机立即绑定

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


正在回答

3 回答

需要检查数据格式是否有问题。

0 回复 有任何疑惑可以回复我~

文件编译错误是啥原因

0 回复 有任何疑惑可以回复我~

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


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

Unexpected token o in JSON at position 1

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信