使用TypeScript 写Vue 组件时,有两种推荐形式: ... export default Vue.extend({ props: { testProps: { type: Object as User } } }) 复制代码.
確定! 回上一頁