xcx 4 gadus atpakaļ
vecāks
revīzija
e409ba935f
2 mainītis faili ar 8 papildinājumiem un 8 dzēšanām
  1. 7
    7
      config/index.js
  2. 1
    1
      src/pages/index/ZuQiuDingDan/index.vue

+ 7
- 7
config/index.js Parādīt failu

11
     assetsSubDirectory: 'static',
11
     assetsSubDirectory: 'static',
12
     assetsPublicPath: '/',
12
     assetsPublicPath: '/',
13
     proxyTable: {
13
     proxyTable: {
14
-      '/api': {
15
-        target: 'http://123.57.65.31:9004',
16
-        changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
17
-        pathRewrite: { '^/api': '/api' }
18
-      },
19
       // '/api': {
14
       // '/api': {
20
-      //   target: 'https://app.xnsport.cn',
15
+      //   target: 'http://123.57.65.31:9004',
21
       //   changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
16
       //   changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
22
       //   pathRewrite: { '^/api': '/api' }
17
       //   pathRewrite: { '^/api': '/api' }
23
-      // }
18
+      // },
19
+      '/api': {
20
+        target: 'https://app.xnsport.cn',
21
+        changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
22
+        pathRewrite: { '^/api': '/api' }
23
+      }
24
       // '/app-api': {
24
       // '/app-api': {
25
       //   target: 'http://ycapi.jcjyhn.com',
25
       //   target: 'http://ycapi.jcjyhn.com',
26
       //   changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
26
       //   changeOrigin: true, // 如果接口跨域,需要进行这个参数配置

+ 1
- 1
src/pages/index/ZuQiuDingDan/index.vue Parādīt failu

185
     ]),
185
     ]),
186
     Init () { // 初始化
186
     Init () { // 初始化
187
       this.PageList = [...this.ZuQiuCart] // 赋值页面数据
187
       this.PageList = [...this.ZuQiuCart] // 赋值页面数据
188
-      console.log(this.PageList)
188
+      console.log(this.FootballKeys)
189
       this.ToGetStoreList() // 获取店铺列表
189
       this.ToGetStoreList() // 获取店铺列表
190
       if (this.$route.query.type === 'single') { // 单关
190
       if (this.$route.query.type === 'single') { // 单关
191
         this.CurrentPassCode = '1*1'
191
         this.CurrentPassCode = '1*1'