lisen 3 lat temu
rodzic
commit
3e72332464

+ 4
- 0
src/pages/MineUserAll/RefundMoney/CheckRefund/index.jsx Wyświetl plik

@@ -80,10 +80,14 @@ export default withLayout((props) => {
80 80
 
81 81
 
82 82
   const onRefund = () => {
83
+    Taro.showLoading({
84
+      title: '退款中',
85
+    })
83 86
     refund(id, {
84 87
       refundDecription: checkeds?.map(x => options.filter(y => y.key == x)[0]?.title).join(';'),
85 88
       refundReason: explain,
86 89
     }).then((res) => {
90
+      Taro.hideLoading();
87 91
       Taro.navigateBack({ delta: 1 })
88 92
       Taro.showToast({
89 93
         title: "退款成功",

+ 1
- 1
src/pages/details/foodDetails/foodDetails.jsx Wyświetl plik

@@ -40,7 +40,7 @@ export default withLayout((props) => {
40 40
   }, [id, subOrderId]);
41 41
 
42 42
   useEffect(() => {
43
-    if (id && scene) {
43
+    if (id && scene&&!subOrderId) {
44 44
       getVerifyTargetList({
45 45
         shopId: id,
46 46
         isMine: true,