Explorar el Código

[edit][handleRedPacket]

zhangwei hace 2 años
padre
commit
51d0715103
Se han modificado 1 ficheros con 1 adiciones y 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(() => {