Props. ts会从vue组件的 props 声明中推断属性的类型,以下是一些基本的类型推断:. String → string; Number → number; Boolean → boolean ...
確定! 回上一頁