editor 修改后无法正常显示了
发布于 7 年前 作者 zouli 10748 次浏览 来自 官方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 回复

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

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

回到顶部