diff --git a/src/views/chart/ContentEdit/components/EditSelect/index.vue b/src/views/chart/ContentEdit/components/EditSelect/index.vue index 1a8df6c7..90fc086b 100644 --- a/src/views/chart/ContentEdit/components/EditSelect/index.vue +++ b/src/views/chart/ContentEdit/components/EditSelect/index.vue @@ -93,7 +93,7 @@ watch( position: absolute; width: 100%; height: 100%; - border-radius: 10px; + border-radius: 5px; overflow: hidden; } .select-border { @@ -107,7 +107,7 @@ watch( .select-background { top: 2px; left: 2px; - opacity: 0.03; + opacity: 0.2; background-color: v-bind('themeColor'); } } diff --git a/src/views/chart/ContentEdit/hooks/useDrag.hook.ts b/src/views/chart/ContentEdit/hooks/useDrag.hook.ts index 82fce985..b87bdd5f 100644 --- a/src/views/chart/ContentEdit/hooks/useDrag.hook.ts +++ b/src/views/chart/ContentEdit/hooks/useDrag.hook.ts @@ -152,7 +152,7 @@ export const mousedownBoxSelect = (e: MouseEvent, item?: CreateComponentType | C } } }) - }, 20) + }, 30) // 鼠标抬起 const mouseup = () => {