Address code review feedback: improve error handling and add missing import

Co-authored-by: qaiu <29825328+qaiu@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-07 05:50:34 +00:00
parent f673a4914e
commit 8c92150c81
2 changed files with 43 additions and 16 deletions

View File

@@ -531,6 +531,7 @@
<script>
import { ref, computed, onMounted, onUnmounted, nextTick, watch } from 'vue';
import { ElMessage, ElMessageBox } from 'element-plus';
import { Lock } from '@element-plus/icons-vue';
import { useMagicKeys, useFullscreen, useEventListener } from '@vueuse/core';
import { Splitpanes, Pane } from 'splitpanes';
import 'splitpanes/dist/splitpanes.css';
@@ -545,7 +546,8 @@ export default {
MonacoEditor,
JsonViewer,
Splitpanes,
Pane
Pane,
Lock
},
setup() {
const editorRef = ref(null);