mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 代码优化
This commit is contained in:
@ -51,7 +51,7 @@ defineProps<Props>();
|
||||
const theme = useThemeStore();
|
||||
const { isMobile } = useBasicLayout();
|
||||
|
||||
const showButton = import.meta.env.PROD && import.meta.env.VITE_VERCEL !== '1';
|
||||
const showButton = import.meta.env.PROD && import.meta.env.VITE_VERCEL !== 'Y';
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
@ -20,7 +20,7 @@ defineOptions({ name: 'SettingDrawer' });
|
||||
|
||||
const app = useAppStore();
|
||||
|
||||
const showButton = import.meta.env.DEV || import.meta.env.VITE_VERCEL === '1';
|
||||
const showButton = import.meta.env.DEV || import.meta.env.VITE_VERCEL === 'Y';
|
||||
</script>
|
||||
|
||||
<style scoped></style>
|
||||
|
Reference in New Issue
Block a user