From 24351928b683be5506cadddde3fff2624b165be4 Mon Sep 17 00:00:00 2001 From: aBin Date: Fri, 4 Mar 2022 16:49:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=85=AC=E5=BC=80router?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.js | 3 ++- src/router/menus/information.js | 6 +++--- vue.config.js | 5 ++++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/config.js b/src/config.js index ab80f92..cfe087b 100644 --- a/src/config.js +++ b/src/config.js @@ -4,7 +4,8 @@ export const DEVICE_TYPE_BIG = "quxia-vm" export const client_id = 'test' export const client_secret = "test" // export const BASE_API = "https://rapapi.renqilai.com/app/mock/39"; -export const BASE_API = "http://10.119.190.12:8000/v1.0"; +// export const BASE_API = "http://10.119.190.12:8000/v1.0"; +export const BASE_API = "http://127.0.0.1:8000/v1.0"; // export const BASE_API = "https://test.tall.wiki/datang/v1.0"; export const pageSize = 20 diff --git a/src/router/menus/information.js b/src/router/menus/information.js index 76ad440..139a49e 100644 --- a/src/router/menus/information.js +++ b/src/router/menus/information.js @@ -91,21 +91,21 @@ const commodityManagement = { meta: {title: '关于信息公开', noCache: false, affix: false}, children: [ { - path: '/information301', + path: '/information501', code: '060501', component: () => import('@/views/lists/index'), name: '信息公开实施细则', meta: {title: '信息公开实施细则', noCache: false, affix: false}, }, { - path: '/information302', + path: '/information502', code: '060502', component: () => import('@/views/lists/index'), name: '公司制度', meta: {title: '公司制度', noCache: false, affix: false}, }, { - path: '/information303', + path: '/information503', code: '060503', component: () => import('@/views/richText/index'), name: '联系我们', diff --git a/vue.config.js b/vue.config.js index 81e6570..a095b38 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,7 +1,10 @@ // vue.config.js var path = require("path"); -const BASE_API = "http://10.119.190.12:8000/v1.0" +// const BASE_API = "http://10.119.190.12:8000/v1.0" +// const proxyUrl = '/v1.0' + +const BASE_API = "http://127.0.0.1:8000/v1.0" const proxyUrl = '/v1.0' // const BASE_API = "https://test.tall.wiki/datang/v1.0"