首页 > 技术文章 > @Input() 默认值

zhanpeng-up 2020-10-27 09:31 原文

如@Input() height:string="100%";这里的“100%”就是默认值;写法其实类似于ts

推荐阅读