This commit is contained in:
JaguarJack 2023-01-12 17:01:44 +08:00
parent 57b448ce95
commit 02a4440aa1
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
import { Menu } from '/admin/types/Menu'
import { PropType } from 'vue'
import { useAppStore } from '/admin/stores/modules/app'
import { isMiniScreen } from '/admin/support/Helper'
import { isMiniScreen } from '/admin/support/helper'
const store = useAppStore()
@ -55,4 +55,4 @@ defineProps({
:deep(.el-menu-item-group__title) {
padding: 0;
}
</style>
</style>

View File

@ -13,7 +13,7 @@
<script lang="ts" setup>
import { useAppStore } from '/admin/stores/modules/app'
import { computed, onMounted, ref, watch } from 'vue'
import { isMiniScreen } from '/admin/support/Helper'
import { isMiniScreen } from '/admin/support/helper'
const isMobile = ref(isMiniScreen())
const layoutSide = ' h-screen z-[1000] sm:z-0 absolute top-0 left-0 sm:fixed transition-width duration-300 ease-linear sider-bg overflow-auto'