diff --git a/dolphinscheduler-ui/src/components/monaco-editor/index.tsx b/dolphinscheduler-ui/src/components/monaco-editor/index.tsx index bc0bdf75cc..c0d7297c27 100644 --- a/dolphinscheduler-ui/src/components/monaco-editor/index.tsx +++ b/dolphinscheduler-ui/src/components/monaco-editor/index.tsx @@ -97,7 +97,10 @@ export default defineComponent({ readOnly: formItem.mergedDisabledRef.value || props.options?.readOnly, value: props.defaultValue ?? props.value, automaticLayout: true, - theme: monacoEditorThemeRef.value + theme: monacoEditorThemeRef.value, + scrollbar: { + alwaysConsumeMouseWheel: false + } }) editor.onDidChangeModelContent(() => { const { onUpdateValue, 'onUpdate:value': _onUpdateValue } = props