mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-16 06:10:24 +08:00
fix: fixed some minor issues
This commit is contained in:
@@ -196,6 +196,9 @@ watch(
|
||||
(newValue: any) => {
|
||||
if (!monacoEditorIns.hasTextFocus()) {
|
||||
state.languageMode = props.language;
|
||||
if (newValue == null) {
|
||||
newValue = '';
|
||||
}
|
||||
monacoEditorIns?.setValue(newValue);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user