Skip to content

Commit 8879e12

Browse files
fit2cloudwxxfit2-zhao
authored andcommitted
fix: login page logo config
1 parent 1dd4ad3 commit 8879e12

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

frontend/packages/web/src/App.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,11 @@
144144
watchStyle(appStore.pageConfig.style, appStore.pageConfig);
145145
watchTheme(appStore.pageConfig.theme, appStore.pageConfig);
146146
147-
onBeforeMount(() => {
147+
onBeforeMount(async () => {
148148
try {
149-
licenseStore.getValidateLicense();
150149
appStore.initThirdPartyResource();
151-
const { isLoginPage } = useUser();
152-
if (licenseStore.hasLicense() && !isLoginPage()) {
150+
await licenseStore.getValidateLicense();
151+
if (licenseStore.hasLicense()) {
153152
appStore.initPageConfig();
154153
if (appStore.pageConfig.icon[0]?.url) {
155154
setFavicon(appStore.pageConfig.icon[0]?.url);

0 commit comments

Comments
 (0)