feat: IconPicker

This commit is contained in:
kailong321200875
2023-09-24 10:29:13 +08:00
parent 1098790ee9
commit 4490d5eeeb
4 changed files with 174 additions and 15 deletions

View File

@@ -1,7 +1,16 @@
<script setup lang="ts">
import { IconPicker } from '@/components/IconPicker'
import { ref } from 'vue'
import { ContentWrap } from '@/components/ContentWrap'
import { useI18n } from '@/hooks/web/useI18n'
const { t } = useI18n()
const currentIcon = ref('tdesign:book-open')
</script>
<template>
<IconPicker />
<ContentWrap :title="t('router.iconPicker')">
<IconPicker v-model="currentIcon" />
</ContentWrap>
</template>