Browse Source

修改认证页面提交逻辑,只在审核通过时提示重新提交

蛋吧eggbar
徐飞洋 1 month ago
parent
commit
f9340a5bea
  1. 6
      pages/profile/authentication/index.js

6
pages/profile/authentication/index.js

@ -164,11 +164,11 @@ Page({
// 检查当前认证状态 // 检查当前认证状态
const currentStatus = this.data.idcardstatus; const currentStatus = this.data.idcardstatus;
// 如果当前状态是已通过或已拒绝,显示确认对话框 // 如果当前状态是已通过,显示确认对话框
if (currentStatus === 1 || currentStatus === 2) { if (currentStatus === ) {
wx.showModal({ wx.showModal({
title: '确认重新提交', title: '确认重新提交',
content: '您的认证信息已审核,确定要重新提交审核吗?', content: '您的认证信息已审核通过,确定要重新提交审核吗?',
success: (res) => { success: (res) => {
if (res.confirm) { if (res.confirm) {
// 用户确认后执行提交操作 // 用户确认后执行提交操作

Loading…
Cancel
Save