mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-13 21:33:42 +08:00
style(projects): sort defineProps, defineEmits with TS type
This commit is contained in:
@@ -4,8 +4,6 @@ import { Icon } from '@iconify/vue';
|
||||
|
||||
defineOptions({ name: 'SvgIcon' });
|
||||
|
||||
const props = defineProps<Props>();
|
||||
|
||||
/**
|
||||
* Props
|
||||
*
|
||||
@@ -19,6 +17,8 @@ interface Props {
|
||||
localIcon?: string;
|
||||
}
|
||||
|
||||
const props = defineProps<Props>();
|
||||
|
||||
const attrs = useAttrs();
|
||||
|
||||
const bindAttrs = computed<{ class: string; style: string }>(() => ({
|
||||
|
Reference in New Issue
Block a user