chore(SubmitBar): extract render function

This commit is contained in:
chenjiahan
2020-09-06 23:06:20 +08:00
parent a5ac887477
commit c655c96026
4 changed files with 71 additions and 65 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ function Notify(options) {
instance.open(options);
clearTimeout(timer);
if (options.duration && options.duration > 0) {
if (options.duration > 0) {
timer = setTimeout(Notify.clear, options.duration);
}