diff --git a/src/oj/problem/components/ProblemFlowchart.vue b/src/oj/problem/components/ProblemFlowchart.vue index c9acd32..9c84fb9 100644 --- a/src/oj/problem/components/ProblemFlowchart.vue +++ b/src/oj/problem/components/ProblemFlowchart.vue @@ -18,17 +18,6 @@ const loadMermaid = async () => { startOnLoad: false, securityLevel: "loose", theme: "default", - flowchart: { - useMaxWidth: true, - htmlLabels: true, - curve: "basis", - }, - sequence: { - useMaxWidth: true, - }, - gantt: { - useMaxWidth: true, - }, }) } return mermaid diff --git a/src/shared/components/MermaidEditor.vue b/src/shared/components/MermaidEditor.vue index e2a20ea..c2abb2f 100644 --- a/src/shared/components/MermaidEditor.vue +++ b/src/shared/components/MermaidEditor.vue @@ -26,17 +26,6 @@ const loadMermaid = async () => { startOnLoad: false, securityLevel: "loose", theme: "default", - flowchart: { - useMaxWidth: true, - htmlLabels: true, - curve: "basis", - }, - sequence: { - useMaxWidth: true, - }, - gantt: { - useMaxWidth: true, - }, }) } return mermaid