diff --git a/src/settings.js b/src/settings.js index fc1b698..5b9505a 100644 --- a/src/settings.js +++ b/src/settings.js @@ -9,7 +9,7 @@ // +---------------------------------------------------------------------- module.exports = { // 路由前缀 - roterPre: '/', + roterPre: '/merchant', // 路由标题 title: '惠农生活 - 商户端', /** diff --git a/vue.config.js b/vue.config.js index 2a257b9..eeb4c43 100644 --- a/vue.config.js +++ b/vue.config.js @@ -24,7 +24,7 @@ module.exports = { * In most cases please use '/' !!! * Detail: https://cli.vuejs.org/config/#publicpath */ - publicPath: '/', + publicPath: '/merchant', outputDir: 'dist', assetsDir: 'static', indexPath: 'index.html',