我想在three.js中使用预先创建的画布。("2d"); // <--- This causes the error below!("2d"); // <--- This causes the same error!const renderer = new THREE.WebGLRenderer({}); 并得到相同的问题。如果我删除getContext(&qu
我想在我的页面中使用chart.js加载一个图表,我添加了jquery和chart.js库,但它仍然通过标题给我一个错误$(...).getContext("2d")不是一个函数。请帮我回答这个问题谢谢。$(document).ready(function(){var myChart = new Chart(ctx,