瀏覽代碼

静态页面

xcx 4 年之前
父節點
當前提交
f9a9efe59b
共有 2 個檔案被更改,包括 4 行新增1 行删除
  1. 1
    1
      src/main.js
  2. 3
    0
      src/pages/index/ZuQiuDingDan/index.vue

+ 1
- 1
src/main.js 查看文件

@@ -15,7 +15,7 @@ import Es6Promise from 'es6-promise'
15 15
 import Vconsole from 'vconsole'
16 16
 
17 17
 let aVconsole = new Vconsole()
18
-console.log(aVconsole)
18
+console.log(aVconsole, `这个不用管`)
19 19
 
20 20
 require('es6-promise').polyfill()
21 21
 Es6Promise.polyfill()

+ 3
- 0
src/pages/index/ZuQiuDingDan/index.vue 查看文件

@@ -300,6 +300,7 @@ export default {
300 300
           lotteryId: 'football'
301 301
         }
302 302
       }).then((res) => {
303
+        console.log(`店铺请求成功,请求数据是:${res},定位数据是:${this.Lng},${this.Lat}`)
303 304
         let StoreList = res.data.data.nearest || []
304 305
         let RecommendStoreList = res.data.data.recommend || []
305 306
         let MyStoreList = res.data.data.mine || []
@@ -329,6 +330,8 @@ export default {
329 330
           this.CurrentStoreId = this.StoreList[0].shopId === this.CurrentStoreId ? null : this.StoreList[0].shopId
330 331
         }
331 332
         this.GetStoreListStatus = true
333
+      }).catch((res) => {
334
+        console.log(`店铺请求失败,请求数据是:${res},定位数据是:${this.Lng},${this.Lat}`)
332 335
       })
333 336
     },
334 337
     ToGetAllParts () { // 枚举投注