Fork me on GitHub

Invalid prop: type check failed for prop "maxlength"

Invalid prop: type check failed for prop "maxlength",

element 框架时,因为想限制文本框的输入长度,

maxlength="20"

直接报错,搜索资料后,改为

:maxlength="20"

posted @ 2018-11-27 14:16  youxiu326  阅读(359)  评论(0编辑  收藏  举报