网页加载显示调整

This commit is contained in:
joylink_fanyuhong 2022-01-10 14:35:13 +08:00
parent 62f22d0c73
commit 79bd987a38

View File

@ -96,7 +96,9 @@ router.beforeEach( async (to, from, next) => {
store.dispatch('setUploadUrl', urlData.UPLOAD_API);
store.dispatch('setBaseSite', urlData.BASE_SITE);
} catch (e) {
console.error(e);
const urlData = handlerUrl();
store.dispatch('setBaseUrl', urlData.BASE_API);
console.error(e);
}
}
document.title = loginInfo[project || 'login'] ? loginInfo[project || 'login'].browserTitle || loginInfo[project || 'login'].title : '';