mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-09 06:57:14 +08:00
refactor: 更换 ESLint 配置为 @antfu/eslint-config
This commit is contained in:
@@ -21,13 +21,6 @@
|
||||
<script setup lang="ts">
|
||||
defineOptions({ name: 'GiOptionItem' })
|
||||
|
||||
interface Props {
|
||||
icon?: string
|
||||
label?: string
|
||||
more?: boolean
|
||||
active?: boolean
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
icon: '',
|
||||
label: '',
|
||||
@@ -39,6 +32,13 @@ const emit = defineEmits<{
|
||||
(e: 'click'): void
|
||||
}>()
|
||||
|
||||
interface Props {
|
||||
icon?: string
|
||||
label?: string
|
||||
more?: boolean
|
||||
active?: boolean
|
||||
}
|
||||
|
||||
const handleClick = () => {
|
||||
emit('click')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user