fix hanging of GUI

This commit is contained in:
Ralf Bauer 2023-06-07 08:39:15 +02:00
parent 831cecc52c
commit 196c98380e
2 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,9 @@ export default defineComponent({
beforeMount() { beforeMount() {
this.drawChart() this.drawChart()
}, },
mounted() {
this.drawChart()
},
methods: { methods: {
drawChart() { drawChart() {
var end = new Date(); var end = new Date();

View File

@ -45,6 +45,9 @@ export default defineComponent({
beforeMount() { beforeMount() {
this.drawChart() this.drawChart()
}, },
mount() {
this.drawChart()
},
methods: { methods: {
drawChart() { drawChart() {
data = [[{ data = [[{