refactor: vue3.3 defineOptions
This commit is contained in:
@ -59,7 +59,7 @@
|
||||
</el-tabs>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="WxReplySelect">
|
||||
<script setup lang="ts">
|
||||
import { Reply, NewsType, ReplyType, createEmptyReply } from './components/types'
|
||||
import TabText from './components/TabText.vue'
|
||||
import TabImage from './components/TabImage.vue'
|
||||
@ -68,6 +68,8 @@ import TabVideo from './components/TabVideo.vue'
|
||||
import TabNews from './components/TabNews.vue'
|
||||
import TabMusic from './components/TabMusic.vue'
|
||||
|
||||
defineOptions({ name: 'WxReplySelect' })
|
||||
|
||||
interface Props {
|
||||
modelValue: Reply
|
||||
newsType?: NewsType
|
||||
|
||||
Reference in New Issue
Block a user