mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-07 15:35:07 +08:00
refactor: vue3.3 defineOptions
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
<script lang="ts" name="InfoTip" setup>
|
||||
<script lang="ts" setup>
|
||||
import { PropType } from 'vue'
|
||||
import { useDesign } from '@/hooks/web/useDesign'
|
||||
import { propTypes } from '@/utils/propTypes'
|
||||
import { TipSchema } from '@/types/infoTip'
|
||||
|
||||
defineOptions({ name: 'InfoTip' })
|
||||
|
||||
const { getPrefixCls } = useDesign()
|
||||
|
||||
const prefixCls = getPrefixCls('infotip')
|
||||
|
Reference in New Issue
Block a user