from flask_wtf import FlaskForm
from wtforms import StringField
from wtforms.validators import DataRequired, Email
class ContactForm(FlaskForm):
name = StringField("Name", validators=[DataRequired()])
email = StringField("Email", validators=[DataRequired(), Email()])
submit = SubmitField("Send")
错误是线程“ main”中的异常java.lang.ArrayIndexOutOfBoundsException:索引10超出长度10 在test.main(test.java:9) 怎么爱它呢?非常感谢!!!
答案 0 :(得分:1)
您在第二个循环中有错字。您写的是i++
而不是j++
。下次要小心!