Closed yangdan8 closed 7 years ago
Sorry, unfortunately I won't be able to answer questions in languages other than English.
I can be more explicit on props inference now that Vue 2.5 is out, but I should warn you that anything more complex than String
, Number
, Boolean
, or instances of classes is going to give you trouble.
抱歉,我将无法用英语以外的语言回答问题。
现在Vue 2.5已经出来,我可以更明确的道具推理,但是我应该提醒你,比“String”,“Number”,“Boolean”或类的实例更复杂的任务会给你带来麻烦。
props: { name: String, initialEnthusiasm: Number },