mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[bugfix] Dialog: missing animation when first rendered
This commit is contained in:
@@ -6,7 +6,11 @@ let instance;
|
||||
|
||||
const initInstance = () => {
|
||||
instance = new (Vue.extend(VanDialog))({
|
||||
el: document.createElement('div')
|
||||
el: document.createElement('div'),
|
||||
// avoid missing animation when first rendered
|
||||
propsData: {
|
||||
lazyRender: false
|
||||
}
|
||||
});
|
||||
|
||||
instance.$on('input', value => {
|
||||
|
Reference in New Issue
Block a user