We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9c7446 commit 5882584Copy full SHA for 5882584
src/components/SimpleProcessDesignerV2/src/SimpleProcessModel.vue
@@ -114,7 +114,7 @@ const startDrag = (e: MouseEvent) => {
114
115
const onDrag = (e: MouseEvent) => {
116
if (!isDragging.value) return;
117
- e.preventDefault();
+ e.preventDefault(); // 禁用文本选择
118
119
// 使用 requestAnimationFrame 优化性能
120
requestAnimationFrame(() => {
@@ -261,6 +261,7 @@ const resetPosition = () => {
261
height: 100%;
262
position: relative;
263
overflow: hidden;
264
+ user-select: none; // 禁用文本选择
265
}
266
267
.simple-process-model {
0 commit comments