fix: 首次访问获取客户端默认语言/静态路由title
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user