Browse Source

style: 去除多余入参代码

奔跑的面条 3 năm trước cách đây
mục cha
commit
11b5eee86a

+ 1 - 1
src/views/chart/ContentEdit/components/EditAlignLine/index.vue

@@ -94,7 +94,7 @@ const canvasPositionList = computed(() => {
 // * 监听鼠标移动
 watch(
   () => chartEditStore.getMousePosition,
-  throttle((e: MouseEvent) => {
+  throttle(() => {
     if (!isComputedLine.value) return
     // 获取目标组件数据