diff --git a/CHANGELOG.md b/CHANGELOG.md index aa5e992ffaa13c311b9a7c25476418a0ebbf8373..30b1052524cf9737d27b8688701a28dbf0039871 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ - 适配全局参数disableHomeTabs(是否禁用分页导航栏)逻辑,该参数为true时首页不显示分页导航栏 - 适配表单多数据部件对全局参数mdCtrlConfirmBeforeRemove(多数据部件删除前是否需要确认)的支持,并统一多数据部件删除确认弹框的显示样式 - 调整表单项组件中处理编辑器额外参数逻辑,将其迁移到控制器中处理 +- 更新monaco-editor代码编辑器的版本 ### Fixed diff --git a/src/common/custom-theme/custom-theme.tsx b/src/common/custom-theme/custom-theme.tsx index 8488d2deb9199578365cabd939a1ea1b88098fcf..adcd889be68381f17ab873fea28fc78dbe31f5ac 100644 --- a/src/common/custom-theme/custom-theme.tsx +++ b/src/common/custom-theme/custom-theme.tsx @@ -60,7 +60,7 @@ export const CustomTheme = defineComponent({ nextTick(() => { loader.config({ paths: { - vs: `${ibiz.env.pluginBaseUrl}/monaco-editor@0.45.0/min/vs`, + vs: `${ibiz.env.pluginBaseUrl}/monaco-editor@0.52.2/min/vs`, }, }); loader.init().then(loaderMonaco => { diff --git a/src/editor/code/monaco-editor/monaco-editor.tsx b/src/editor/code/monaco-editor/monaco-editor.tsx index 301739c83469a5b4075f00858e1927abf08703b2..dc863b0325b8c2bc06ea3f6c2116456230aea8d5 100644 --- a/src/editor/code/monaco-editor/monaco-editor.tsx +++ b/src/editor/code/monaco-editor/monaco-editor.tsx @@ -464,7 +464,7 @@ export const IBizCode = defineComponent({ isLoading.value = true; loader.config({ paths: { - vs: `${ibiz.env.pluginBaseUrl}/monaco-editor@0.45.0/min/vs`, + vs: `${ibiz.env.pluginBaseUrl}/monaco-editor@0.52.2/min/vs`, }, }); loader