mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
feat: 将配置中的名称更改为动态获取的环境变量VITE_APP_TITLE
This commit is contained in:
parent
994715d9eb
commit
031c56e30b
4 changed files with 1 additions and 1089 deletions
|
|
@ -1 +0,0 @@
|
||||||
npx --no-install commitlint --edit "$1"
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
npx lint-staged --allow-empty
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -12,7 +12,7 @@ const initialConfigState: PublicConfig = {
|
||||||
mobileAreaList: [],
|
mobileAreaList: [],
|
||||||
beianIcpNum: '',
|
beianIcpNum: '',
|
||||||
beianGaNum: '',
|
beianGaNum: '',
|
||||||
name: '小智智能助手',
|
name: import.meta.env.VITE_APP_TITLE,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const useConfigStore = defineStore(
|
export const useConfigStore = defineStore(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue