Kaynağa Gözat

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

zhujindu 2 ay önce
ebeveyn
işleme
9cde5e7fb2
1 değiştirilmiş dosya ile 11 ekleme ve 1 silme
  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(() => {});
+          }
         }
       );
     },