mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 18:36:51 +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() {
|
destroyed() {
|
||||||
this.clear();
|
this.clear();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user