changes of giftCard page

This commit is contained in:
2026-10-20 12:11:46 +03:30
parent 2927d64c64
commit e5b3d0c931
55 changed files with 1495 additions and 140 deletions
@@ -16,6 +16,7 @@
<script setup lang="ts">
import { menuIconSize } from '@root/config'
import type { RouteRecordRaw } from 'vue-router'
import { confirmMenuAccess } from '@/utils/adminPageAccess'
const router = useRouter()
interface Props {
@@ -25,6 +26,7 @@ interface Props {
const props = withDefaults(defineProps<Props>(), {})
async function handleClickMenuItem(item: RouteRecordRaw) {
if (!confirmMenuAccess(item.name)) return
router.push({ name: item.name })
}
</script>