实名认证添加状态过程
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user