系统名称使用变量修正
This commit is contained in:
@ -33,9 +33,11 @@
|
||||
const { data } = await responseStream.json();
|
||||
if (data.shortName) {
|
||||
document.title = data.shortName;
|
||||
document.getElementById('app-loading-title').innerText = data.shortName;
|
||||
if(document.getElementById('app-loading-title')){
|
||||
document.getElementById('app-loading-title').innerText = data.shortName;
|
||||
}
|
||||
}
|
||||
if (data.refreshLogoUrl) {
|
||||
if (data.refreshLogoUrl&&document.getElementById('app-loading-logo')) {
|
||||
document.getElementById('app-loading-logo').setAttribute('src', data.refreshLogoUrl);
|
||||
}
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user