From 6317f81f3664e10de5063b73183e945e52727baf Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Sat, 25 Jun 2022 15:03:46 +0800
Subject: [PATCH] 优化请求模块,优化App请求解析能力

---
 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