随笔 - 193
文章 - 0
评论 - 8
阅读 -
32万
03 2023 档案
vue3.2+ts 子组件的props接收的是个对象的话
摘要:备忘录而已: <script setup lang="ts">// import {PropType} from "vue"export interface DataInfo{ id:number; name:string}type Props = { isObject?:DataInfo} //
阅读全文