[FIX] component: cancel previous mounting operations if necessary

closes #626
This commit is contained in:
Géry Debongnie
2020-02-16 09:46:47 +01:00
committed by aab-odoo
parent 03585d8fea
commit f7728b93bd
8 changed files with 156 additions and 61 deletions
+2 -2
View File
@@ -2814,9 +2814,9 @@ describe("random stuff/miscellaneous", () => {
steps.push(`${this.name}:render`);
return super.__render(f);
}
__patch(vnode) {
__patch(target, vnode) {
steps.push(`${this.name}:__patch`);
super.__patch(vnode);
super.__patch(target, vnode);
}
mounted() {
steps.push(`${this.name}:mounted`);