refactor: vue3.3 defineOptions
This commit is contained in:
@ -38,7 +38,9 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" name="WxNews" setup>
|
||||
<script lang="ts" setup>
|
||||
defineOptions({ name: 'WxNews' })
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
articles: any[] | null
|
||||
|
||||
Reference in New Issue
Block a user