Commit 1efbbfb5 by 张立顺

修改路由base 配置

1 parent c172f602
......@@ -24,7 +24,8 @@ const router = createRouter()
function createRouter() {
return new Router({
// mode: 'history', // 如果是 history模式 需要配置vue.config.js publicPath
base: process.env.BASE_URL,
base: 'dj-carlife-web-alipay',
// base: process.env.BASE_URL,
scrollBehavior: function (to, from, savedPosition) {
return savedPosition || { x: 0, y: 0 }
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!