fix: 首次访问获取客户端默认语言/静态路由title

This commit is contained in:
TsMask
2023-11-20 18:12:29 +08:00
parent 9fdd322757
commit e9054e320f
13 changed files with 142 additions and 35 deletions

View File

@@ -47,7 +47,7 @@ const useAppStore = defineStore('app', {
*/
getLOGOIcon(state) {
const path = state.filePathIcon;
if (!path) {
if (!path || path === '#') {
return defaultLOGOIcon;
}
if (validHttp(path)) {
@@ -66,7 +66,7 @@ const useAppStore = defineStore('app', {
*/
getLOGOBrand(state) {
const path = state.filePathBrand;
if (!path) {
if (!path || path === '#') {
return defaultLOGOBrand;
}
if (validHttp(path)) {