Explorar el Código

修改详情页面

wangxy hace 1 día
padre
commit
2cf8d6dc89
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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: '支付二次查验失败,请联系管理员',