dom 元素长这样
<editor id="editor" value='12323' class="ql-container container" placeholder="开始输入..." @ready="onEditorReady" @blur="submit"></editor>
注意赋值必须要用 data 里面变量数据 不要let 定义变量
uni.createSelectorQuery().select('#editor').context((res)=>{
console.log(this , 'this');
this.content = res.context
this.content.setContents({
html:this.commodityItem.content,
// delta:contents
})
}).exec()