w***@qq.com
w***@qq.com
  • 发布:2022-08-01 20:32
  • 更新:2022-12-18 13:32
  • 阅读:244

关于内置组件 editor 编译成apk 的时候 .html错误

分类:nvue

关于内置组件 editor 编译成apk 的时候 .html错误
无法获取 editor组件的内容

[Vue warn]: Error in v-on handler: "TypeError: Cannot read property 'html' of undefined"
20:12:49.963 (found at pages/details/publish_html.vue:1)
20:12:49.994 TypeError: Cannot read property 'html' of undefined
sendDatainote == editor组件绑定
this.sendDatainote.detail.html;

===
说明: h5版本 是正常的 不知道问题在哪儿
====
关于内置组件 editor 编译成apk 的时候 获取.html属性 错误
getContents() {
let _this = this
this.editorCtx.getContents({
success(res) {
//_this.$emit('getContents', res.html)
_this.sendData.inote=res.html;//this.sendDatainote.detail.html;
console.log("getContentsres",res);
}
})
},

这个也是一样 android apk 无法获取内容
===
有人帮忙解答么?

2022-08-01 20:32 负责人:无 分享
已邀请:
w***@qq.com

w***@qq.com (作者)

关于内置组件 editor 编译成apk 的时候 获取.html属性 错误
getContents() {
let _this = this
this.editorCtx.getContents({
success(res) {
//_this.$emit('getContents', res.html)
_this.sendData.inote=res.html;//this.sendDatainote.detail.html;
console.log("getContentsres",res);
}
})
},

这个也是一样 android apk 无法获取内容

z***@163.com

z***@163.com

我也遇到这个问题,老兄解决了吗

要回复问题请先登录注册