mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix(projects): 修复登录页刷新跳404
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
<gihub-site />
|
||||
<full-screen />
|
||||
<user-avatar />
|
||||
<setting-drawer-button />
|
||||
<setting-drawer-button v-if="showSettingButton" />
|
||||
</div>
|
||||
</div>
|
||||
</n-layout-header>
|
||||
@ -60,6 +60,8 @@ const menuWidth = computed(() => {
|
||||
|
||||
return `${width}px`;
|
||||
});
|
||||
|
||||
const showSettingButton = import.meta.env.DEV || import.meta.env.VITE_HTTP_ENV === 'STAGING';
|
||||
</script>
|
||||
<style scoped>
|
||||
.global-header {
|
||||
|
Reference in New Issue
Block a user