4
0
mirror of https://github.com/iczer/vue-antd-admin.git synced 2025-04-06 03:57:44 +08:00

chore: optimize the code; 🌟

This commit is contained in:
chenghongxing 2020-07-21 09:40:10 +08:00
parent 4e6a060dfe
commit 21cfb454d7
2 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ module.exports = {
effect: '动画效果', effect: '动画效果',
direction: '动画方向' direction: '动画方向'
}, },
alert: '拷贝配置后,直接覆盖文件 src/config/config.js 中的全部内容即可。(注意:仅会拷贝与默认配置不同的项)', alert: '拷贝配置后,直接覆盖文件 src/config/config.js 中的全部内容,然后重启即可。(注意:仅会拷贝与默认配置不同的项)',
copy: '拷贝配置' copy: '拷贝配置'
}, },
HK: { HK: {
@ -67,7 +67,7 @@ module.exports = {
effect: '動畫效果', effect: '動畫效果',
direction: '動畫方向' direction: '動畫方向'
}, },
alert: '拷貝配置后,直接覆蓋文件 src/config/config.js 中的全部內容即可。(注意:僅會拷貝與默認配置不同的項)', alert: '拷貝配置后,直接覆蓋文件 src/config/config.js 中的全部內容,然後重啟即可。(注意:僅會拷貝與默認配置不同的項)',
copy: '拷貝配置' copy: '拷貝配置'
}, },
US: { US: {
@ -102,7 +102,7 @@ module.exports = {
effect: 'Effect', effect: 'Effect',
direction: 'Direction' direction: 'Direction'
}, },
alert: 'After copying the configuration code, directly cover all contents in the file src/config/config.js. (Note: only items that are different from the default configuration will be copied)', alert: 'After copying the configuration code, directly cover all contents in the file src/config/config.js, then restart the server. (Note: only items that are different from the default configuration will be copied)',
copy: 'Copy Setting' copy: 'Copy Setting'
} }
} }

View File

@ -40,7 +40,7 @@ module.exports = {
} }
} }
}, },
publicPath: './', publicPath: process.env.NODE_ENV === 'production' ? '/vue-antd-admin/' : '/',
outputDir: 'dist', outputDir: 'dist',
assetsDir: 'static', assetsDir: 'static',
productionSourceMap: false productionSourceMap: false