2023年10月7日17:21:38

master
zhangmeng 2023-10-07 18:19:11 +08:00
parent f3fc26c724
commit 587f087c2a
2 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,7 @@ public class MonacoEdit extends AnchorPane {
* *
*/ */
private void setMonacoMode(MonacoMode mode) { private void setMonacoMode(MonacoMode mode) {
window.call("setEditorMode", mode.getValue()); window.call("setModelLanguage", mode.getName());
} }
/** /**

View File

@ -324,6 +324,8 @@ public class MonacoHelper {
function getValue(){ function getValue(){
alert(Areacode) alert(Areacode)
} }
</script> </script>
</head> </head>