mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Swipe: not initialize when activated (#2297)
This commit is contained in:
parent
eca1b6970e
commit
5ac7666230
@ -82,6 +82,14 @@ export default create({
|
||||
}
|
||||
},
|
||||
|
||||
activated() {
|
||||
if (this.rendered) {
|
||||
this.initialize();
|
||||
}
|
||||
|
||||
this.rendered = true;
|
||||
},
|
||||
|
||||
destroyed() {
|
||||
this.clear();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user