Browse Source

[edit][handleRedPacket]

zhangwei 2 năm trước cách đây
mục cha
commit
51d0715103
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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(() => {