simo 2 周之前
父节点
当前提交
5f8831eea9
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/pages/demo.astro

+ 3 - 1
src/pages/demo.astro

@@ -1,4 +1,6 @@
-<canvas style="width: 100%; height: 100%;" id="tablet-canvas"></canvas>
+<body style="width: 100%; height: 100%;">
+    <canvas style="width: 100%; height: 100%;" id="tablet-canvas"></canvas>
+</body>
 <script>
     // @ts-ignore
     import * as THREE from "three";