[bugfix] Swipe: not initialize when activated (#2297)
This commit is contained in:
@@ -82,6 +82,14 @@ export default create({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
activated() {
|
||||||
|
if (this.rendered) {
|
||||||
|
this.initialize();
|
||||||
|
}
|
||||||
|
|
||||||
|
this.rendered = true;
|
||||||
|
},
|
||||||
|
|
||||||
destroyed() {
|
destroyed() {
|
||||||
this.clear();
|
this.clear();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user