Sfoglia il codice sorgente

[edit][handleRedPacket]

zhangwei 2 anni fa
parent
commit
51d0715103
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  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
             postId: state.postId
         }
         }
     }).then((res) => {
     }).then((res) => {
-        state.loading_show = false
         if (res.code == 0) {
         if (res.code == 0) {
-            showOpenedPage()
             init()
             init()
         } else {
         } else {
+            state.loading_show = false
             handleErrorCode(res)
             handleErrorCode(res)
         }
         }
     }).catch(() => {
     }).catch(() => {