Browse Source

修改BUG

develop
王健 4 years ago
parent
commit
7be845f05e
  1. 217
      src/router/views/index.js
  2. 4
      vue.config.js

217
src/router/views/index.js

@ -1,111 +1,110 @@
import Layout from '@/page/index/'
export default []
//
// export default [{
// path: '/info',
// component: Layout,
// redirect: '/info/index',
// children: [{
// path: 'index',
// name: '个人信息',
// component: () =>
// import( /* webpackChunkName: "page" */ '@/views/admin/user/info')
// }]
// },
// {
// path: '/houseList',
// component: Layout,
// redirect: '/houseList',
// children: [{
// path: 'page/FormatInfo',
// name: '业态信息',
// meta: {
// keepAlive: false
// },
// component: () =>
// import( /* webpackChunkName: "views" */ '@/views/houseList/page/FormatInfo')
// }, {
// path: 'page/houseInfo',
// name: '楼栋信息',
// meta: {
// keepAlive: false
// },
// component: () =>
// import( /* webpackChunkName: "views" */ '@/views/houseList/page/houseInfo')
// }, {
// path: 'page/detail',
// name: '房屋信息',
// meta: {
// keepAlive: false
// },
// component: () =>
// import( /* webpackChunkName: "views" */ '@/views/houseList/page/detail')
// }, ]
// },
// {
// path: '/company',
// component: Layout,
// redirect: '/company',
// children: [{
// path: 'auction/insert',
// name: '新增参拍记录',
// meta: {
// keepAlive: true
// },
// component: () =>
// import( /* webpackChunkName: "views" */ '@/views/company/auction/insert')
// }, ]
// },
// {
// path: '/land',
// component: Layout,
// redirect: '/land',
// children: [{
// path: 'handLand/newLand',
// name: '编辑土地',
// meta: {
// keepAlive: false
// },
// component: () =>
// import( /* webpackChunkName: "views" */ '../../views/land/handLand/newLand')
// },
// {
// path: 'noneHandLand/newLand',
// name: '编辑土地拟',
// meta: {
// keepAlive: false
// },
// component: () =>
// import( /* webpackChunkName: "views" */ '../../views/land/noneHandLand/newLand')
// },]
// },
// {
// path: '/bigdata',
// component: Layout,
// redirect: '/bigdata',
// children: [{
// path: 'city/newCity',
// name: '新增城市',
// meta: {
// keepAlive: false
// },
// component: () =>
// import( /* webpackChunkName: "views" */ '@/views/bigdata/city/newCity')
// }, ]
// },
// {
// path: '/message',
// component: Layout,
// redirect: '/message',
// children: [{
// path: 'editMessage',
// name: '编辑消息',
// meta: {
// keepAlive: false
// },
// component: () =>
// import( /* webpackChunkName: "views" */ '@/views/message/editMessage')
// }, ]
// },
// ]
export default [{
path: '/info',
component: Layout,
redirect: '/info/index',
children: [{
path: 'index',
name: '个人信息',
component: () =>
import( /* webpackChunkName: "page" */ '@/views/admin/user/info')
}]
},
{
path: '/houseList',
component: Layout,
redirect: '/houseList',
children: [{
path: 'page/FormatInfo',
name: '业态信息',
meta: {
keepAlive: false
},
component: () =>
import( /* webpackChunkName: "views" */ '@/views/houseList/page/FormatInfo')
}, {
path: 'page/houseInfo',
name: '楼栋信息',
meta: {
keepAlive: false
},
component: () =>
import( /* webpackChunkName: "views" */ '@/views/houseList/page/houseInfo')
}, {
path: 'page/detail',
name: '房屋信息',
meta: {
keepAlive: false
},
component: () =>
import( /* webpackChunkName: "views" */ '@/views/houseList/page/detail')
}, ]
},
{
path: '/company',
component: Layout,
redirect: '/company',
children: [{
path: 'auction/insert',
name: '新增参拍记录',
meta: {
keepAlive: true
},
component: () =>
import( /* webpackChunkName: "views" */ '@/views/company/auction/insert')
}, ]
},
{
path: '/land',
component: Layout,
redirect: '/land',
children: [{
path: 'handLand/newLand',
name: '编辑土地',
meta: {
keepAlive: false
},
component: () =>
import( /* webpackChunkName: "views" */ '../../views/land/handLand/newLand')
},
{
path: 'noneHandLand/newLand',
name: '编辑土地拟',
meta: {
keepAlive: false
},
component: () =>
import( /* webpackChunkName: "views" */ '../../views/land/noneHandLand/newLand')
},]
},
{
path: '/bigdata',
component: Layout,
redirect: '/bigdata',
children: [{
path: 'city/newCity',
name: '新增城市',
meta: {
keepAlive: false
},
component: () =>
import( /* webpackChunkName: "views" */ '@/views/bigdata/city/newCity')
}, ]
},
{
path: '/message',
component: Layout,
redirect: '/message',
children: [{
path: 'editMessage',
name: '编辑消息',
meta: {
keepAlive: false
},
component: () =>
import( /* webpackChunkName: "views" */ '@/views/message/editMessage')
}, ]
},
]

4
vue.config.js

@ -6,8 +6,8 @@ const path = require('path')
function resolve(dir) {
return path.join(__dirname, dir)
}
const url = 'http://192.168.209.210:9002'; //裴
// const url = 'https://yoursairdata.com/api';//生产
// const url = 'http://192.168.209.210:9002'; //裴
const url = 'https://yoursairdata.com/api';//生产
module.exports = {
lintOnSave: true,
productionSourceMap: false,

Loading…
Cancel
Save