mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-28 17:55:06 +08:00
refactor: vue3.3 defineOptions
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
<script lang="ts" name="ImageViewer" setup>
|
||||
<script lang="ts" setup>
|
||||
import { PropType } from 'vue'
|
||||
import { propTypes } from '@/utils/propTypes'
|
||||
|
||||
defineOptions({ name: 'ImageViewer' })
|
||||
|
||||
const props = defineProps({
|
||||
urlList: {
|
||||
type: Array as PropType<string[]>,
|
||||
|
Reference in New Issue
Block a user