我将editor封装在自己的组件中, wx.createSelectorQuery().select(“#” + id).context(function (res) { res返回 null。 我在page中试过没问题