@alipay/ams-checkout 0.0.1711691167-dev.19 → 0.0.1711691167-dev.20
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/esm/plugin/utils.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
1
2
|
export var appendLoadingIcon = function appendLoadingIcon(props) {
|
2
3
|
var htmlElement = props.htmlElement,
|
3
4
|
loadingHeight = props.loadingHeight,
|
@@ -17,5 +18,6 @@ export var appendLoadingIcon = function appendLoadingIcon(props) {
|
|
17
18
|
}
|
18
19
|
};
|
19
20
|
export var isShowLoading = function isShowLoading(showLoading) {
|
21
|
+
console.log('showLoading测试', showLoading, _typeof(showLoading), typeof showLoading === 'boolean' ? showLoading : true);
|
20
22
|
return showLoading = typeof showLoading === 'boolean' ? showLoading : true;
|
21
23
|
};
|