Explorar o código

[edit][handleRedPacket]

zhangwei %!s(int64=2) %!d(string=hai) anos
pai
achega
51d0715103
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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(() => {