gpt4 book ai didi

vuejs3 - VueJS 3 和 vue-google-charts

转载 作者:行者123 更新时间:2023-12-05 03:37:49 25 4
gpt4 key购买 nike

我是 VueJS 的初学者。我正在尝试使用 vue-google-charts 库创建一些可视化,但我无法做到。我遵循了一些在线教程,例如 this .

但是我在控制台收到这个错误:

[Vue warn]: Property "$createElement" was accessed during render but is not defined on instance. 
at <GChart type="PieChart" options=
Object { width: 1100, height: 400 }
data=
Array(6) [ (2) […], (2) […], (2) […], (2) […], (2) […], (2) […] ]
>
at <App>
at <App> runtime-core.esm-bundler.js:6870
[Vue warn]: Property "_self" was accessed during render but is not defined on instance.
at <GChart type="PieChart" options=
Object { width: 1100, height: 400 }
data=
Array(6) [ (2) […], (2) […], (2) […], (2) […], (2) […], (2) […] ]
>
at <App>
at <App> runtime-core.esm-bundler.js:6870
[Vue warn]: Unhandled error during execution of render function
at <GChart type="PieChart" options=
Object { width: 1100, height: 400 }
data=
Array(6) [ (2) […], (2) […], (2) […], (2) […], (2) […], (2) […] ]
>
at <App>
at <App>

最佳答案

在 VueJS 3 上遇到了同样的问题,我尝试了几个包最终使用了不同的库。

https://www.npmjs.com/package/@j-t-mcc/vue3-chartjs

关于vuejs3 - VueJS 3 和 vue-google-charts,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69157665/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com