tangjunhao 3 months ago
parent
commit
93de0d10ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/PythonEditor/index.vue

+ 1 - 1
src/components/PythonEditor/index.vue

@@ -5,7 +5,7 @@ import loader from "@monaco-editor/loader";
 // 添加 config 配置,必须在 loader.init() 之前
 loader.config({
   paths: {
-    vs: "/monaco-editor/vs", // 对应 node_modules/monaco-editor/min/vs 被映射的URL路径
+    vs: "/airopt/monaco-editor/vs", // 对应 node_modules/monaco-editor/min/vs 被映射的URL路径
   },
 });