Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fishjimi committed Sep 12, 2023
1 parent 8fa6a22 commit cf4d1cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/notice-bar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ var utils_1 = require("../common/utils");
});
this.timer = setTimeout(function () {
_this.scroll();
}, this.duration + this.data.delay);
}, this.duration);
},
onClickIcon: function (event) {
if (this.data.mode === 'closeable') {
Expand Down
2 changes: 1 addition & 1 deletion packages/notice-bar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ VantComponent({

this.timer = setTimeout(() => {
this.scroll();
}, this.duration);
}, this.duration + this.data.delay);
},

onClickIcon(event) {
Expand Down

0 comments on commit cf4d1cd

Please sign in to comment.