update 系统优化
This commit is contained in:
parent
995deffad6
commit
144a741189
@ -3,6 +3,7 @@
|
||||
// see http://vuejs-templates.github.io/webpack for documentation.
|
||||
|
||||
const path = require('path')
|
||||
const IP = require('ip').address()
|
||||
|
||||
module.exports = {
|
||||
dev: {
|
||||
@ -20,9 +21,8 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// Various Dev Server settings
|
||||
host: 'localhost', // can be overwritten by process.env.HOST
|
||||
host: IP, // can be overwritten by process.env.HOST
|
||||
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
||||
autoOpenBrowser: false,
|
||||
errorOverlay: true,
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<title>linzi_kpi</title>
|
||||
<title>绩效系统</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
@ -60,6 +60,7 @@
|
||||
"file-loader": "^1.1.4",
|
||||
"friendly-errors-webpack-plugin": "^1.6.1",
|
||||
"html-webpack-plugin": "^2.30.1",
|
||||
"ip": "^1.1.5",
|
||||
"jest": "^22.0.4",
|
||||
"jest-serializer-vue": "^0.3.0",
|
||||
"nightwatch": "^0.9.12",
|
||||
|
||||
@ -9,6 +9,9 @@ const routes = [
|
||||
redirect: kpiRouter.length > 0 ? kpiRouter[0].redirect : '/'
|
||||
}
|
||||
].concat(kpiRouter)
|
||||
|
||||
export default new Router({
|
||||
base: '/digitization/',
|
||||
mode: 'history',
|
||||
routes
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user