张延森 3 anni fa
parent
commit
a2f5cd83fd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/pages/game/algorithm/index.js

+ 1
- 1
src/pages/game/algorithm/index.js Vedi File

15
 
15
 
16
   // 初始化
16
   // 初始化
17
   const two = new Two({
17
   const two = new Two({
18
-    type: Two.Types.svg,
18
+    type: Two.Types.canvas,
19
     fullscreen: true,
19
     fullscreen: true,
20
   }).appendTo(el);
20
   }).appendTo(el);
21
 
21