Commit 99b2eee4e4bfaa6adff548260556d6c4b5b012d2
Merge branch 'fix/login-cannot-enter' into 'main_dev'
fix: 修复登录页面退出登录后无法获取平台信息 See merge request yunteng/thingskit-front!1270
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -97,8 +97,8 @@ |
97 | 97 | |
98 | 98 | onMounted(() => { |
99 | 99 | const platform = getPlatFormInfo(); |
100 | - defaultLogo.value = platform.logo || ''; | |
101 | - show.value = !platform.background; | |
100 | + defaultLogo.value = platform?.logo || ''; | |
101 | + show.value = !platform?.background; | |
102 | 102 | }); |
103 | 103 | </script> |
104 | 104 | <style lang="less"> | ... | ... |