fix: 🐛 revert View.find

This commit is contained in:
vector
2021-04-23 09:39:41 +08:00
parent 11cd5bec30
commit 0d94179c6a

View File

@ -407,8 +407,8 @@ export namespace View {
if (Config.useCSSSelector) {
return {
isCSSSelector: true,
elems: Array.prototype.slice.call(rootElem.querySelectorAll(selector)),
// elems: $(rootElem).find(selector).toArray() as Element[],
// elems: Array.prototype.slice.call(rootElem.querySelectorAll(selector)),
elems: $(rootElem).find(selector).toArray() as Element[],
}
}