attr 和 prop的使用区别

自带的属性,用prop;自定义的属性,用attr。

posted @ 2019-03-07 14:45  月光分层  阅读(84)  评论(0编辑  收藏  举报