提交 c38d6ba3 编写于 作者: fxy060608's avatar fxy060608

add showLoading,hideLoading

上级 29d27d3b
......@@ -2429,6 +2429,14 @@ let waitingTimeout;
let toast = false;
let toastTimeout;
function showLoading$1 (args) {
return showToast$1(args).replace('showToast', 'showLoading')
}
function hideLoading () {
return hideToast().replace('hideToast', 'hideLoading')
}
function showToast$1 ({
title = '',
icon = 'success',
......@@ -2594,6 +2602,8 @@ function showActionSheet$1 ({
}
var require_context_module_0_0 = /*#__PURE__*/Object.freeze({
showLoading: showLoading$1,
hideLoading: hideLoading,
showToast: showToast$1,
hideToast: hideToast,
showModal: showModal$1,
......
......@@ -7,6 +7,14 @@ let waitingTimeout
let toast = false
let toastTimeout
export function showLoading (args) {
return showToast(args).replace('showToast', 'showLoading')
}
export function hideLoading () {
return hideToast().replace('hideToast', 'hideLoading')
}
export function showToast ({
title = '',
icon = 'success',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册