官网上只有生成 <input type="submint" />
这种形式,没有 <button type="submit">Submit</button>
这种形式
classwtforms.fields.SubmitField(default field arguments)
Represents an<input type="submit">
. This allows checking if a given submit button has been pressed.
解决方案
官方似乎没有提供,不过你可以自己定制。
http://wtforms.simplecodes.com/docs/1...
就拼接html即可。