Browse Source

[bug][loding]

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