feat: 优化代码结构
This commit is contained in:
@@ -44,7 +44,7 @@ class ReportForm(FlaskForm):
|
||||
# render_kw={"placeholder": "例如:some.site.com"}
|
||||
# )
|
||||
reported_pt_site = SelectField('违规站点', validators=[DataRequired()])
|
||||
reported_uid = StringField(
|
||||
reported_username = StringField(
|
||||
'被举报的用户名',
|
||||
validators=[Optional(), Length(max=50)],
|
||||
render_kw={"placeholder": "可选"}
|
||||
|
||||
Reference in New Issue
Block a user