Bläddra i källkod

fix: 修复默认值冲突,导致旋转属性不生效的问题

tnt group 3 år sedan
förälder
incheckning
a6e7158800
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/packages/components/Informations/Mores/WordCloud/config.ts

+ 1 - 1
src/packages/components/Informations/Mores/WordCloud/config.ts

@@ -45,7 +45,7 @@ export const option = {
 
       // 文本旋转范围和程度的步骤。 文本将通过旋转步骤45在[-90,90]中随机旋转
       rotationRange: [0, 0],
-      rotationStep: 45,
+      rotationStep: 0,
 
       // size of the grid in pixels for marking the availability of the canvas
       // 网格大小越大,单词之间的差距就越大。