From 254078db63d959f8c473e43b2a6adc3ba66a7119 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Fri, 22 Sep 2023 11:15:13 +0800
Subject: [PATCH] 修复异常地址获取地区码时,陷入无限循环的问题

---
 common/WxH5Pay.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/common/WxH5Pay.js b/common/WxH5Pay.js
index be9fd8a..70256a4 100644
--- a/common/WxH5Pay.js
+++ b/common/WxH5Pay.js
@@ -14,7 +14,7 @@
         this._callback = callback;
         const that = this;
         Taro.showModal({
-            title: type === 'ask' ? '微信支付未响应?' : '微信支付仍未响应?',
+            content: type === 'ask' ? '微信支付未响应?' : '微信支付仍未响应?',
             confirmColor: '#4a8aff',
             confirmText: type === 'ask' ? '点击重试' : '重载页面',
             success: res => {
@@ -29,6 +29,7 @@
         });
         setTimeout(() => {
             this.$modal = $('.taro__modal');
+            this.$modal.find('>div>div').css('textAlign', 'center');
         }, 10);
     },
     cancel() {

--
Gitblit v1.9.1