Browse Source

信息公开router问题修改

master
aBin 3 years ago
parent
commit
24351928b6
  1. 3
      src/config.js
  2. 6
      src/router/menus/information.js
  3. 5
      vue.config.js

3
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

6
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: '联系我们',

5
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"

Loading…
Cancel
Save