mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 15:37:33 +08:00
code refactor
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue';
|
||||
import { type CommonIconProps, useItemIcon } from '@/components/base/ItemIcon.ts';
|
||||
import { type CommonIconProps, useItemIconBase } from '@/components/base/ItemIconBase.ts';
|
||||
|
||||
const props = defineProps<CommonIconProps>();
|
||||
const { style, getAccountIcon, getCategoryIcon } = useItemIcon(props);
|
||||
const { style, getAccountIcon, getCategoryIcon } = useItemIconBase(props);
|
||||
|
||||
const f7IconValue = computed<string>(() => {
|
||||
if (props.iconType === 'fixed-f7') {
|
||||
|
||||
Reference in New Issue
Block a user