This commit is contained in:
xuyucheng 2022-10-21 14:10:24 +08:00
parent 670e1acc14
commit 5241aca9a3
2 changed files with 3 additions and 3 deletions

View File

@ -10,9 +10,9 @@ Vue.use(Router)
const router = new Router({
routes: [{
path: '/',
redirect: '/home'
redirect: '/webapp/data_manager'
}, {
path: '/home',
path: '/webapp/data_manager',
name: '首页',
meta: {
requireAuth: false

View File

@ -1,5 +1,5 @@
module.exports = {
publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
publicPath: process.env.NODE_ENV === "production" ? "/webapp/data_manager" : "/",
outputDir: "dist",
productionSourceMap: false,
lintOnSave: true,