From a7a3ffc1b7b028c43a685a8674d08dd9fc6ce04c Mon Sep 17 00:00:00 2001 From: Patrick <43166836+patrickbitzer@users.noreply.github.com> Date: Mon, 19 Sep 2022 11:07:38 +0200 Subject: [PATCH] Use render instead of repaint After getting the error `this.$clusterObject.repaint is not a function`, I have search for a solution and found this. Replacing the function call render() instead of repaint() solves this issue. --- src/components/cluster.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/cluster.vue b/src/components/cluster.vue index ddd2c1e..9cdd065 100644 --- a/src/components/cluster.vue +++ b/src/components/cluster.vue @@ -98,7 +98,7 @@ export default buildComponent({ }, updated() { if (this.$clusterObject) { - this.$clusterObject.repaint() + this.$clusterObject.render() } }, beforeUnmount() {