Skip to content

Commit 1fccc9a

Browse files
authored
Merge pull request #562 from Tencent/fix/notice-bar
fix(notice-bar): fix scroll problem
2 parents 54b1a18 + a291067 commit 1fccc9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/notice-bar/notice-bar.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ export default class NoticeBar extends SuperComponent {
6262
detached() {
6363
this.clearNoticeBarAnimation();
6464
},
65+
66+
ready() {
67+
this.show();
68+
},
6569
};
6670

6771
methods = {

0 commit comments

Comments
 (0)