We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e6a3e9c + 4529145 commit 443f7efCopy full SHA for 443f7ef
lib/index.js
@@ -50,10 +50,6 @@ Toast.install = function (Vue, options) {
50
51
setTimeout(function () {
52
toastVM.show = showToast = false;
53
- var elements = document.getElementsByClassName('lx-load-mark');
54
- for (var i = 0; i < elements.length; i++) { // 单页面加载不同的页面时会生成多个 load mark,隐藏的时候全部移除
55
- elements[i].remove()
56
- }
57
}, opt.duration)
58
};
59
['bottom', 'center', 'top'].forEach(function (type) {
@@ -92,4 +88,4 @@ Toast.install = function (Vue, options) {
92
88
}
93
89
});
94
90
95
-module.exports = Toast;
91
+module.exports = Toast;
0 commit comments