diff --git a/.env.staging b/.env.staging index 42ea844..28af714 100644 --- a/.env.staging +++ b/.env.staging @@ -1,2 +1,3 @@ -# 预发布环境接口地址 -VITE_API_URL=https://vue.ruoyi.vip/prod-api +# 开发环境接口地址 +VITE_API_URL=http://dev.bar.beerape.com/prod-api +VITE_API_STORE_URL=http://dev.design.beerape.com \ No newline at end of file diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..e17e3b8 Binary files /dev/null and b/dist.zip differ diff --git a/src/layout/index.vue b/src/layout/index.vue index d46ccb1..3bd979d 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -97,8 +97,8 @@ - - + - + + + @@ -184,24 +184,24 @@ ReloadOutlined, ExpandOutlined, CompressOutlined, - MoreOutlined, + // MoreOutlined, CloseOutlined, ArrowLeftOutlined, ArrowRightOutlined, MinusCircleOutlined, - CloseCircleOutlined, - MoonOutlined, - SunOutlined + CloseCircleOutlined + // MoonOutlined, + // SunOutlined } from '@/components/icons'; import { PROJECT_NAME, HOME_PATH, REDIRECT_PATH } from '@/config/setting'; - import { doWithTransition } from '@/utils/common'; + // import { doWithTransition } from '@/utils/common'; import { useUserStore } from '@/store/modules/user'; import { useThemeStore } from '@/store/modules/theme'; import { useMobileDevice } from '@/utils/use-mobile'; import { usePageTab } from '@/utils/use-page-tab'; import RouterLayout from '@/components/RouterLayout/index.vue'; import HeaderUser from './components/header-user.vue'; - import HeaderNotice from './components/header-notice.vue'; + // import HeaderNotice from './components/header-notice.vue'; import PageFooter from './components/page-footer.vue'; // import SettingDrawer from './components/setting-drawer.vue'; @@ -266,7 +266,7 @@ /** 是否全屏 */ const isFullscreen = ref(false); - /** 是否显示主题设置抽屉 */ + /** 是否显示主题设置抽屉 - 已禁用,使用固定默认主题配置 */ // const settingVisible = ref(false); /** 页签右键菜单 */ @@ -396,22 +396,22 @@ } }; - /** 打开主题设置抽屉 */ + /** 打开主题设置抽屉 - 已禁用,使用固定默认主题配置 */ // const openSetting = () => { // settingVisible.value = true; // }; - /** 暗黑主题切换开关 */ - const darkSwitchRef = ref(null); + /** 暗黑主题切换开关 - 已禁用,使用固定默认主题配置 */ + // const darkSwitchRef = ref(null); - /** 切换暗黑模式 */ - const updateDarkMode = (isDark) => { - doWithTransition( - () => themeStore.setValue('darkMode', isDark), - darkSwitchRef.value?.$el?.querySelector?.('.el-switch__action'), - !isDark - ); - }; + /** 切换暗黑模式 - 已禁用,使用固定默认主题配置 */ + // const updateDarkMode = (isDark) => { + // doWithTransition( + // () => themeStore.setValue('darkMode', isDark), + // darkSwitchRef.value?.$el?.querySelector?.('.el-switch__action'), + // !isDark + // ); + // }; \ No newline at end of file