This commit is contained in:
“sunzy” 2022-01-10 18:13:14 +08:00
commit 6acf6c7bbc

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 : '';