|
@@ -244,8 +244,12 @@ let getLogo = async () => {
|
|
method: 'GET',
|
|
method: 'GET',
|
|
query: {},
|
|
query: {},
|
|
});
|
|
});
|
|
- logo.value = responseStatus.data.logo;
|
|
|
|
- webSiteName.value = responseStatus.data.website_name;
|
|
|
|
|
|
+ if (responseStatus.code == 200) {
|
|
|
|
+ logo.value = responseStatus.data.logo;
|
|
|
|
+ webSiteName.value = responseStatus.data.website_name;
|
|
|
|
+ } else if (responseStatus.code == 0) {
|
|
|
|
+ window.location.href = $CwebUrl + '/404';
|
|
|
|
+ }
|
|
}
|
|
}
|
|
getLogo();
|
|
getLogo();
|
|
//3.跳转菜单逻辑 end ---------------------------------------->
|
|
//3.跳转菜单逻辑 end ---------------------------------------->
|