Browse Source

[edit][bugs]

zhangwei 3 years ago
parent
commit
5fa900ce90
2 changed files with 4 additions and 2 deletions
  1. 2 2
      src/uilts/chromeExtension.js
  2. 2 0
      src/view/red-packet.vue

+ 2 - 2
src/uilts/chromeExtension.js

@@ -1,11 +1,11 @@
 export const LANDING_PAGE = {
     name: 'received_log',
-    url: 'http://localhost:3000'
+    url: 'https://de-net-test.piaoquantv.com'
 }
 
 export const LANDING_PAGE_MIND = {
     name: 'mid',
-    url: 'http://localhost:3000'
+    url: 'https://de-net-test.piaoquantv.com'
 }
 
 export function setChromeStorage(params) {

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

@@ -553,11 +553,13 @@ async function clickGetGiveways() {
 }
 
 function handleFinishRedPacket() {
+  data.loading_show = true
   finishRedPacket({
     params: {
       postId: data.postId
     }
   }).then((res) => {
+    data.loading_show = false
     switch (res.code.toString()) {
       case '0':
         if (res.data.finished) {