onLoad: function (options) {
let modelstr = Base64.CusBASE64.decoder(options.data)
var msg = String.fromCharCode.apply(null, new Uint16Array(modelstr))
console.log(msg)
let model = JSON.parse(msg);
this.setData({
model: model,
CustomBar:app.globalData.CustomBar
})
},
json.parse这行报异常了,解析失败!msg打印的内容{"preview":"http://img5.adesk.com/5f55af9ce7bce77616a632b6?sign=5bbc747763f5002f8641e0faf14d0103&t=612766d6"}一个格式正常的json,为什么会解析失败呢?