A simple and practical CMS implememted by flask
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
gary561 opened this issue 3 years ago · comments
id = StringField(label="id", validators=[Optional(), AnyOf(values=["1","2","3"])]) 当可选参数id,传值时,id=4,如果不在Anyof内,原生的form.id.data=None, 封装后的form.id.data=4