ソースを参照

[edit][handleRedPacket]

zhangwei 2 年 前
コミット
51d0715103
1 ファイル変更1 行追加2 行削除
  1. 1 2
      src/view/iframe/red-packet/luck-draw.vue

+ 1 - 2
src/view/iframe/red-packet/luck-draw.vue

@@ -1511,11 +1511,10 @@ function handleRedPacket() {
             postId: state.postId
         }
     }).then((res) => {
-        state.loading_show = false
         if (res.code == 0) {
-            showOpenedPage()
             init()
         } else {
+            state.loading_show = false
             handleErrorCode(res)
         }
     }).catch(() => {