editor组件插入图片,html img中没有data-local字段,真机调试正常,是什么问题?
将editor组件封装到自定义组件后,使用以下代码插入图片:
const that = this
wx.chooseImage({
count: 1,
success: function (res) {
that.data.editorCtx.insertImage({
src: res.tempFilePaths[0]
})
}
})
获取input事件返回的detail.html 中 <img>标签中不含 data-local字段。但真机调试时,该字段正常。 请问在真机上用 data-local字段 是否可靠?
开发工具版本 stable 1.03.2012120
调试基础库2.7.0
