@tarojs/plugin-platform-harmony-ets 4.0.0-beta.56 → 4.0.0-beta.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/wxml/selectorQuery.ts +7 -3
- package/dist/components-harmony-ets/image.ets +7 -0
- package/dist/components-harmony-ets/style.ets +4 -4
- package/dist/runtime-ets/dom/cssNesting.ts +34 -16
- package/dist/runtime-ets/dom/cssStyleDeclaration.ts +3 -3
- package/dist/runtime-utils.js +5 -2
- package/dist/runtime-utils.js.map +1 -1
- package/dist/runtime.js +5 -2
- package/dist/runtime.js.map +1 -1
- package/package.json +9 -9
package/dist/runtime.js
CHANGED
|
@@ -4340,9 +4340,12 @@ function filter(fields, dom) {
|
|
|
4340
4340
|
}
|
|
4341
4341
|
function querySelector(selector, selectAll) {
|
|
4342
4342
|
if (typeof selector === 'string') {
|
|
4343
|
-
return
|
|
4343
|
+
return selector.split(',').reduce((prev, current) => {
|
|
4344
|
+
const item = current.trim();
|
|
4345
|
+
return prev.concat(parseHandler(item, selectAll));
|
|
4346
|
+
}, []);
|
|
4344
4347
|
}
|
|
4345
|
-
return
|
|
4348
|
+
return [];
|
|
4346
4349
|
}
|
|
4347
4350
|
function queryBat(queue, cb) {
|
|
4348
4351
|
const result = [];
|