diff --git a/public/react/src/modules/page/component/TPICodeSetting.js b/public/react/src/modules/page/component/TPICodeSetting.js index c83422c4e..05caa145b 100644 --- a/public/react/src/modules/page/component/TPICodeSetting.js +++ b/public/react/src/modules/page/component/TPICodeSetting.js @@ -116,20 +116,40 @@ class TPICodeSetting extends Component {
代码补全
*/}
-
CTRL + S
-
保存代码
+
保存代码
+
Ctrl + S
+
+
+
唤出快捷键列表
+
F1 / Alt + F1
+
+
+
左右缩进
+
Ctrl + ]/[
+
+
+
跳到匹配的括号
+
Ctrl + Shift + \
+
+
+
转到行首
+
Home
+
+
+
转到行尾
+
End

- 学员使用说明 + 关卡配置信息 {/* */}

跳关
-
{ task_pass ? 'on' : 'off'}
+
{ task_pass ? '允许' : '不允许'}
@@ -137,7 +157,7 @@ class TPICodeSetting extends Component { : "禁止学员通过金币解锁查看测试集内容"} disableFocusListener={true}>
测试集解锁
-
{ test_set_permission ? 'on' : 'off'}
+
{ test_set_permission ? '允许' : '不允许'}
@@ -145,15 +165,15 @@ class TPICodeSetting extends Component { : "启用页面复制和粘贴功能"} disableFocusListener={true}>
-
禁止代码复制粘贴
-
{ forbid_copy ? 'on' : 'off'}
+
代码复制粘贴
+
{ !forbid_copy ? '允许' : '不允许'}
- -

+ + {/* */} + {/*

说明 - {/* */}

@@ -161,7 +181,7 @@ class TPICodeSetting extends Component { 本编辑器和Visual Studio Code的快捷键一致,使用F1或Alt+F1 (Internet Explorer)可以唤出快捷键列表。
- + */}