Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

收到重复的申请邮件(Light) #50

Open
taoky opened this issue Jun 16, 2019 · 4 comments
Open

收到重复的申请邮件(Light) #50

taoky opened this issue Jun 16, 2019 · 4 comments

Comments

@taoky
Copy link
Member

taoky commented Jun 16, 2019

一部分申请信息会被 noreply 重复发送 2 次。邮件内容看起来是相同的。

@SmartHypercube
Copy link
Member

这是因为前端没有在点击提交按钮后立刻禁用按钮,导致很多申请者发现点击后没反应,重复点击

@taoky
Copy link
Member Author

taoky commented Jun 16, 2019

这是因为前端没有在点击提交按钮后立刻禁用按钮,导致很多申请者发现点击后没反应,重复点击

跟某新版教务系统评教时候的逻辑一样啊 hhhhh

如果我用 JS 脚本按那个 button 几百次,是不是就会发几百封邮件……如果可以的话,这个 bug 还是最好修一下,而且这不止是前端的问题。

@zzh1996
Copy link
Member

zzh1996 commented Jul 9, 2019

这是因为前端没有在点击提交按钮后立刻禁用按钮,导致很多申请者发现点击后没反应,重复点击

前端早就实现在点击按钮后立刻禁用按钮了

@zzh1996
Copy link
Member

zzh1996 commented Jul 9, 2019

这是因为前端没有在点击提交按钮后立刻禁用按钮,导致很多申请者发现点击后没反应,重复点击

跟某新版教务系统评教时候的逻辑一样啊 hhhhh

如果我用 JS 脚本按那个 button 几百次,是不是就会发几百封邮件……如果可以的话,这个 bug 还是最好修一下,而且这不止是前端的问题。

现在的逻辑是用户申请后可以随时编辑申请的信息并且重新申请,这个是期望行为。可以考虑改成如果用户使用和上次完全相同的信息重新申请就什么都不做

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants