v3.5.0 系统布局配置支持动态标题开关

This commit is contained in:
YunaiV
2022-02-15 22:08:40 +08:00
parent 7df42db2e2
commit 7bf9a85263
12 changed files with 59 additions and 5 deletions

View File

@ -6,7 +6,7 @@ function resolve(dir) {
return path.join(__dirname, dir)
}
const name = defaultSettings.title || '芋道管理系统' // 标题
const name = process.env.VUE_APP_TITLE || '芋道管理系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 80 // 端口