editor 修改后无法正常显示了

发布于 9 年前作者 zouli10878 次浏览最后编辑 9 年前来自 issues

var that = this;

var index = e.currentTarget.dataset.index;

wx.createSelectorQuery().select(‘#editor’).context(function (res) {

that.data[‘editor’] = res.context;

if (e.currentTarget.dataset.delta) {

that.data[‘editor’].setContents({

delta: e.currentTarget.dataset.delta

})

}

}).exec()

客户端无法显示了,工具端显示正常位置出现移动还是以前的错误

2 回复
guping
guping1 楼6 年前

你改了什么之后不能正常显示?

jing84
jing842 楼6 年前

无法正常显示具体是指什么?麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html