From 3455d2fe868f5e5ef9c22c79b53006dc3f2212b9 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Mon, 14 Dec 2020 18:18:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=97=E9=93=81=E9=99=A2=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 2c3e8b76f..dea847de9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -15,8 +15,8 @@ const port = 9527; // dev port let publicPath = ''; let outputDir = ''; (function () { - publicPath = process.env.VUE_APP_PRO == 'local' ? '/' : '/cbtc'; - outputDir = process.env.VUE_APP_PRO == 'local' ? 'dist' : 'dist/cbtc'; + publicPath = process.env.VUE_APP_PRO == 'local' || process.env.VUE_APP_PRO == 'ntyl' ? '/' : '/cbtc'; + outputDir = process.env.VUE_APP_PRO == 'local' || process.env.VUE_APP_PRO == 'ntyl' ? 'dist' : 'dist/cbtc'; })(); // All configuration item explanations can be find in https://cli.vuejs.org/config/