@tarojs/plugin-platform-harmony-ets 4.0.0-beta.55 → 4.0.0-beta.57
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/ui/interaction/index.ts +3 -1
- 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/cssStyleDeclaration.ts +3 -3
- package/dist/runtime-utils.js +8 -3
- package/dist/runtime-utils.js.map +1 -1
- package/dist/runtime.js +8 -3
- package/dist/runtime.js.map +1 -1
- package/package.json +9 -9
package/dist/runtime.js
CHANGED
|
@@ -3644,7 +3644,9 @@ function showToast(options) {
|
|
|
3644
3644
|
promptAction.showToast({
|
|
3645
3645
|
message: options.title,
|
|
3646
3646
|
duration: options.duration,
|
|
3647
|
-
bottom: options.bottom
|
|
3647
|
+
bottom: options.bottom,
|
|
3648
|
+
// @ts-ignore
|
|
3649
|
+
showMode: 1 // 设置弹窗显示模式,显示在应用之上。
|
|
3648
3650
|
});
|
|
3649
3651
|
callAsyncSuccess(resolve, resCallback('showToast'), options);
|
|
3650
3652
|
});
|
|
@@ -4338,9 +4340,12 @@ function filter(fields, dom) {
|
|
|
4338
4340
|
}
|
|
4339
4341
|
function querySelector(selector, selectAll) {
|
|
4340
4342
|
if (typeof selector === 'string') {
|
|
4341
|
-
return
|
|
4343
|
+
return selector.split(',').reduce((prev, current) => {
|
|
4344
|
+
const item = current.trim();
|
|
4345
|
+
return prev.concat(parseHandler(item, selectAll));
|
|
4346
|
+
}, []);
|
|
4342
4347
|
}
|
|
4343
|
-
return
|
|
4348
|
+
return [];
|
|
4344
4349
|
}
|
|
4345
4350
|
function queryBat(queue, cb) {
|
|
4346
4351
|
const result = [];
|