xcx 4 gadus atpakaļ
vecāks
revīzija
8117dbc4b9

+ 3
- 0
src/pages/WuYe/BaoXiuFeiYong/index.jsx Parādīt failu

@@ -12,6 +12,8 @@ import './index.less'
12 12
 
13 13
 export default function BaoXiuFeiYong () {
14 14
 
15
+  console.log(Current.router.params, `params`)
16
+
15 17
   const { user } = useModel('user')
16 18
   const [ShowPopup, setShowPopup] = useState(false)
17 19
   const [PopupType, setPopupType] = useState(0)
@@ -85,6 +87,7 @@ export default function BaoXiuFeiYong () {
85 87
         if (res.confirm) {
86 88
           WechatPay([BillInfo.id - 0]).then(() => {
87 89
             setShowPopup(false)
90
+            console.log(`弹窗已设置关闭`)
88 91
             Taro.showToast({
89 92
               title: '缴费成功',
90 93
               icon: 'success'

+ 0
- 3
src/pages/WuYe/JiaoFeiDetail/index.jsx Parādīt failu

@@ -40,10 +40,8 @@ export default function JiaoFeiDetail () {
40 40
   }
41 41
 
42 42
   const handleCancelOrder = () => {
43
-    console.log(`弹窗准备关闭`)
44 43
     cancelOrder()
45 44
     setShowPopup(false)
46
-    console.log(`弹窗已设置关闭`)
47 45
     setPopupType(0)
48 46
   }
49 47
 
@@ -71,7 +69,6 @@ export default function JiaoFeiDetail () {
71 69
             paying.current = false
72 70
             order.current = undefined
73 71
             setShowPopup(false)
74
-            console.log(`支付成功,弹窗已设置关闭`)
75 72
             setPopupType(0)
76 73
             Taro.showToast({
77 74
               title: '支付成功',