是因为表单submit截断了,把button type submit 改成 button 参考https://blog.csdn.net/yangdengxian/article/details/79904049