实名认证添加状态过程

This commit is contained in:
cbb
2026-01-05 17:50:18 +08:00
parent 42eba945e8
commit 24731d1949
10 changed files with 489 additions and 12 deletions

View File

@@ -49,11 +49,12 @@ const showToast = (message, type = 'none', duration = 1800) => {
}
/** 对话框带确认取消按钮 */
const showDialog = (title, content) => {
const showDialog = (title, content, showCancel = true) => {
return new Promise(resolve => {
uni.showModal({
title,
content,
showCancel,
confirmText: '确定',
cancelText: '取消',
success: res => resolve(res.confirm)