We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dd4ad3 commit 8879e12Copy full SHA for 8879e12
1 file changed
frontend/packages/web/src/App.vue
@@ -144,12 +144,11 @@
144
watchStyle(appStore.pageConfig.style, appStore.pageConfig);
145
watchTheme(appStore.pageConfig.theme, appStore.pageConfig);
146
147
- onBeforeMount(() => {
+ onBeforeMount(async () => {
148
try {
149
- licenseStore.getValidateLicense();
150
appStore.initThirdPartyResource();
151
- const { isLoginPage } = useUser();
152
- if (licenseStore.hasLicense() && !isLoginPage()) {
+ await licenseStore.getValidateLicense();
+ if (licenseStore.hasLicense()) {
153
appStore.initPageConfig();
154
if (appStore.pageConfig.icon[0]?.url) {
155
setFavicon(appStore.pageConfig.icon[0]?.url);
0 commit comments