From abbb4d1c4376b3ea58b464805773e6f52e8e14ec Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Thu, 25 Apr 2024 16:25:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B5=84=E6=BA=90=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E5=92=8C=E8=B7=AF=E7=94=B1=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/settings.js | 2 +- vue.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings.js b/src/settings.js index 01d133b..4cd4626 100644 --- a/src/settings.js +++ b/src/settings.js @@ -9,7 +9,7 @@ // +---------------------------------------------------------------------- module.exports = { // 路由前缀 - roterPre: '/', + roterPre: '/admin', // 路由标题 title: '惠农生活 - 平台端', diff --git a/vue.config.js b/vue.config.js index 5327589..5dd1186 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: '/admin', outputDir: 'dist', assetsDir: 'static', indexPath: 'index.html',