@@ -5,4 +5,4 @@ VUE_APP_TITLE = 移动安全保卫管理平台项目
ENV = 'production'
# 生产环境
-VUE_APP_BASE_API = '/prod-api'
+VUE_APP_BASE_API = 'http://10.87.10.49:8080/'
@@ -9,7 +9,7 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
run(`vue-cli-service build ${args}`)
- const port = 9526
+ const port = 8080
const publicPath = config.publicPath
var connect = require('connect')
@@ -177,7 +177,7 @@ Router.prototype.replace = function push(location) {
}
export default new Router({
- mode: 'history', // 去掉url中的#
+ mode: 'hash', // 去掉url中的#
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
})