We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
window.location.replace('xxxx'); window.event.returnValue = false; 这两行放到toast前面,toast的时间就失效了。直接就执行回调了。 这两行放到toast回调里面,这两行就失效了。这两行是用来抑制后退的。
The text was updated successfully, but these errors were encountered:
@BIGzs 你把前面的那两行换成alert(1) callback里的那两行换成alert(2)。你就知道为啥了?duration其实没有失效,是因为你代码让页面跳转了
Sorry, something went wrong.
No branches or pull requests
window.location.replace('xxxx');
window.event.returnValue = false;
这两行放到toast前面,toast的时间就失效了。直接就执行回调了。
这两行放到toast回调里面,这两行就失效了。这两行是用来抑制后退的。
The text was updated successfully, but these errors were encountered: