@ -132,11 +132,10 @@
}
},
onLoad(o) {
console.log(o.info)
let info = o.info ? JSON.parse(o.info) : uni.getStorageSync("getInfo");
uni.setStorageSync("getInfo",info)
if (info.content) {
info.content = info.content.replace(/<img src=/g, '<img style="width: 100%; display:block" src=')
console.log(info.content)
this.info = info;
this.type = o.type;