浏览代码

Merge branch 'feature_20250909_金牌店联络簿验证码错误弹框确认' into release

zhujindu 2 月之前
父节点
当前提交
9cde5e7fb2
共有 1 个文件被更改,包括 11 次插入1 次删除
  1. 11 1
      src/views/deviceWithin/addStoreVisit.vue

+ 11 - 1
src/views/deviceWithin/addStoreVisit.vue

@@ -5277,7 +5277,17 @@ export default {
         },
         (res) => {
           this.verificationPassedPhoneNum = sendPhone;
-          this.$toast(res.data ? '验证成功' : '验证码错误');
+          if (res.data) {
+            this.$toast('验证成功');
+          } else {
+            this.$dialog
+              .confirm({
+                title: '提示',
+                message: '验证码错误',
+                showCancelButton: false,
+              })
+              .then(() => {});
+          }
         }
       );
     },