toast问题修复
This commit is contained in:
parent
fbe115c095
commit
a829be47d5
|
|
@ -358,11 +358,6 @@
|
||||||
const toast = document.getElementById('toast');
|
const toast = document.getElementById('toast');
|
||||||
if (toast) {
|
if (toast) {
|
||||||
toast.className = 'toast hide';
|
toast.className = 'toast hide';
|
||||||
|
|
||||||
// 动画结束后完全隐藏
|
|
||||||
setTimeout(() => {
|
|
||||||
toast.style.display = 'none';
|
|
||||||
}, 300);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue