소스 검색

[edit][bugs]

zhangwei 3 년 전
부모
커밋
5fa900ce90
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  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) {