zhangwei 2 lat temu
rodzic
commit
ad5a89ac87
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/view/iframe/red-packet/red-packet.vue

+ 2 - 0
src/view/iframe/red-packet/red-packet.vue

@@ -938,11 +938,13 @@ function clickOpenRedPacket() {
 }
 
 function handleRedPacket() {
+  state.loading_show = true
   getRedPacket({
     params: {
       postId: state.postId
     }
   }).then((res) => {
+    state.loading_show = false
     if (res.code == 0) {
       showOpenedPage()
       init()