chore: optimize the code; 🌟

master
chenghongxing 4 years ago
parent 4e6a060dfe
commit 21cfb454d7
  1. 6
      src/components/setting/i18n.js
  2. 2
      vue.config.js

@ -32,7 +32,7 @@ module.exports = {
effect: '动画效果',
direction: '动画方向'
},
alert: '拷贝配置后,直接覆盖文件 src/config/config.js 中的全部内容即可。(注意:仅会拷贝与默认配置不同的项)',
alert: '拷贝配置后,直接覆盖文件 src/config/config.js 中的全部内容,然后重启即可。(注意:仅会拷贝与默认配置不同的项)',
copy: '拷贝配置'
},
HK: {
@ -67,7 +67,7 @@ module.exports = {
effect: '動畫效果',
direction: '動畫方向'
},
alert: '拷貝配置后,直接覆蓋文件 src/config/config.js 中的全部內容即可。(注意:僅會拷貝與默認配置不同的項)',
alert: '拷貝配置后,直接覆蓋文件 src/config/config.js 中的全部內容,然後重啟即可。(注意:僅會拷貝與默認配置不同的項)',
copy: '拷貝配置'
},
US: {
@ -102,7 +102,7 @@ module.exports = {
effect: 'Effect',
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'
}
}

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

Loading…
Cancel
Save