fix(NoticeBar): allow dynamic setting of scrollable (#6190)

This commit is contained in:
neverland 2020-04-30 17:39:34 +08:00 committed by GitHub
parent c885801f32
commit d68943cd73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,10 +37,9 @@ export default createComponent({
},
watch: {
scrollable: 'start',
text: {
handler() {
this.start();
},
handler: 'start',
immediate: true,
},
},
@ -87,7 +86,7 @@ export default createComponent({
this.reset();
}
});
}
},
},
render() {