【issues/869】JCodeEditor组件初始化时没有设置mode
parent
d0ff2225c7
commit
29c1145a29
|
@ -94,6 +94,9 @@
|
||||||
// 启用代码折叠相关功能:结束
|
// 启用代码折叠相关功能:结束
|
||||||
// 光标行高亮
|
// 光标行高亮
|
||||||
styleActiveLine: true,
|
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: {
|
extraKeys: {
|
||||||
Tab: function autoFormat(editor) {
|
Tab: function autoFormat(editor) {
|
||||||
|
|
Loading…
Reference in New Issue