Sfoglia il codice sorgente

修改详情页面

wangxy 3 mesi fa
parent
commit
2cf8d6dc89
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      pages/chanpinShop/usePay.js

+ 2 - 0
pages/chanpinShop/usePay.js

@@ -248,7 +248,9 @@ export function usePay(opt = {}) {
 						}
 					}).catch(err1 => {
 						uni.hideLoading()
+						if (typeof !isNaN(err1) && err1 === 'number') {
 						toast('支付二次查验失败,请联系管理员')
+						}
 						checkError && checkError({
 							type: 'OrderCheckWx',
 							msg: '支付二次查验失败,请联系管理员',