mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-05-01 23:46:14 +00:00
refactor: vue3.3 defineOptions
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
<script lang="ts" name="SizeDropdown" setup>
|
||||
<script lang="ts" setup>
|
||||
import { useAppStore } from '@/store/modules/app'
|
||||
|
||||
import { propTypes } from '@/utils/propTypes'
|
||||
import { useDesign } from '@/hooks/web/useDesign'
|
||||
import { ElementPlusSize } from '@/types/elementPlus'
|
||||
|
||||
defineOptions({ name: 'SizeDropdown' })
|
||||
|
||||
const { getPrefixCls } = useDesign()
|
||||
|
||||
const prefixCls = getPrefixCls('size-dropdown')
|
||||
|
||||
Reference in New Issue
Block a user