Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
duolabmeng6 committed Nov 12, 2023
1 parent 834d0d9 commit 159b7fa
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions GoEasyDesigner/frontend/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import htmlWorker from "monaco-editor/esm/vs/language/html/html.worker?worker"
import tsWorker from "monaco-editor/esm/vs/language/typescript/ts.worker?worker"
import 编辑器数据 from './编辑器/编辑器提示数据.js'
import ldf from './编辑器/编辑器语法文件.js'
import helper from "./Helper.js";
import systemFcDoc from "@/helpDoc/systemFcDoc.json"

const app = createApp(App)
app.use(createPinia())
Expand Down Expand Up @@ -68,8 +68,7 @@ console.log("自定义组件名称列表", JSON.stringify(自定义组件名称
app.config.globalProperties.自定义组件名称列表 = 自定义组件名称列表


import systemFcDoc from "@/helpDoc/systemFcDoc.json"
function loadEidtCode(){
function loadEidtCode() {

app.use(VueMonacoEditorPlugin, {
paths: {
Expand Down Expand Up @@ -113,7 +112,7 @@ function loadEidtCode(){
let l = JSON.parse(JSON.stringify(item));
try {
const extractedContent = item.doc.split(' ')[0];
l.label = item.help + " " + extractedContent;
l.label = item.help + " " + extractedContent;
} catch (e) {

}
Expand Down Expand Up @@ -166,7 +165,9 @@ function loadEidtCode(){

}

loadEidtCode()
// if (store.客户端模式) {
loadEidtCode()
// }


app.config.warnHandler = function (msg, vm, trace) {
Expand Down

0 comments on commit 159b7fa

Please sign in to comment.