瀏覽代碼

style: 去除多余入参代码

奔跑的面条 3 年之前
父節點
當前提交
11b5eee86a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/chart/ContentEdit/components/EditAlignLine/index.vue

+ 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
     // 获取目标组件数据