【issues/869】JCodeEditor组件初始化时没有设置mode

This commit is contained in:
zhangdaiscott
2023-12-01 21:23:10 +08:00
parent d0ff2225c7
commit 29c1145a29

View File

@@ -94,6 +94,9 @@
// 启用代码折叠相关功能:结束
// 光标行高亮
styleActiveLine: true,
// update-begin--author:liaozhiyang---date:20231201---for【issues/869】JCodeEditor组件初始化时没有设置mode
mode: props.language,
// update-begin--author:liaozhiyang---date:20231201---for【issues/869】JCodeEditor组件初始化时没有设置mode
//代码格式化
extraKeys: {
Tab: function autoFormat(editor) {