whyczyk
2021-07-19 b9f0dfc4c0c48d65842d417b5babe1304439a735
src/assets/js/newDiagram/index.js
@@ -11,13 +11,13 @@
   this.opts = { // 默认配置
      lineWidth: 3, // 线宽
      onOffBase: { // 开关的基础配置
         radius: 3,
         radius: 4,
         width: 16,
         lineWidth: 2,
      },
      moveDot: {
         radius: 6,
         step: 1,
         step: 0.8,
         gravity: 0.08
      },
      ripplesStep: 0.6
@@ -30,7 +30,7 @@
   };
   // 显示线条的id
   this.showLineId = false;
   this.showLineId = true;
}
// 设置canvas