瀏覽代碼

fixed type thingie

Tino Koch 2 月之前
父節點
當前提交
3863899141
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/TresCanvas.vue

+ 1 - 1
src/components/TresCanvas.vue

@@ -155,7 +155,7 @@ const unmountCanvas = () => {
 }
 
 onMounted(async () => {
-  const existingCanvas = canvasRef.value as Ref<HTMLCanvasElement>
+  const existingCanvas = canvasRef as Ref<HTMLCanvasElement>
 
   context.value = await useTresContextProvider({
     scene: scene.value as TresScene,