Commit 8c8fa7f1 authored by liyang's avatar liyang

feat: 实现文件上传功能,参考ruoyi-vue实现,修改路由模式为hash,更新打包配置

parent 15febd49
......@@ -5,4 +5,4 @@ VUE_APP_TITLE = STS门户网站管理系统
ENV = 'production'
# 若依门户系统/生产环境
VUE_APP_BASE_API = 'http://101.126.159.207:8081'
VUE_APP_BASE_API = 'http://101.126.159.207:8882'
......@@ -177,7 +177,7 @@ Router.prototype.replace = function push(location) {
}
export default new Router({
mode: 'history', // 去掉url中的#
mode: 'hash',
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
})
......@@ -5,4 +5,4 @@ VUE_APP_TITLE = STS门户网站
ENV = 'production'
# 若依门户系统/生产环境
VUE_APP_BASE_API = 'http://101.126.159.207:8081'
VUE_APP_BASE_API = 'http://101.126.159.207:8882'
......@@ -98,7 +98,7 @@ Router.prototype.replace = function push(location) {
}
export default new Router({
mode: 'history',
mode: 'hash',
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment