export default { toast(title, icon = 'none') { uni.showToast({ icon, title }); }, toastSuccess(title) { uni.showToast({ icon: 'success', title }); }, loading(title = '加载中') { uni.showLoading({ title }); }, loadingMustClose(title = '加载中') { uni.showLoading({ title: title, mask: true }); }, hideLoading() { uni.hideLoading(); } };