The solution: Make an Ajax call in the background to a server-side checking routine; if there are errors, warn the user, highlight incorrect fields, and so on.
解决方案:在后台对服务器端检查例程执行一个 Ajax 调用;如果有错误,就警告用户,突出显示不正确的字段。
Consider the case where the HR module succeeds while the Payroll module fails (maybe due to insufficient data, incorrect data, network issues, and so on).
考虑这样一种情况,HR模块成功而Payroll模块失败(可能是由于数据不充足、数据错误、网络问题等等)。
To find the bug, we have to trace back through the flow of control to find out where the variable was assigned and determine whether doing so was incorrect.
为了发现错误,我们必须通过控制流跟踪,以发现变量在哪里被赋值,并确定是否这么做是不正确的。
应用推荐