<td><input type="text" name='attrCode' :value="item.attrCode" placeholder="小于15字符" maxlength="15"/></td>
自带maxlength方法