From b8b33d33275d72729ad2a80218d4ff25f4c182fc Mon Sep 17 00:00:00 2001 From: nemo shen Date: Sat, 6 Jan 2024 17:15:50 +0800 Subject: [PATCH] chore: remove unused code --- src/App.vue | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/App.vue b/src/App.vue index 344f675..6240323 100644 --- a/src/App.vue +++ b/src/App.vue @@ -49,26 +49,6 @@ function reload() { defineExpose({ reload }); watchEffect(() => history.replaceState({}, '', store.serialize())); -const panelSize = ref(25); -const onResizePanel = (event: { size: number }[]) => { - panelSize.value = event[0].size; -}; -// const panelConfig = computed(() => { -// const eidtorSize = 100 - panelSize.value; -// return { -// output: { -// size: panelSize.value, -// minSize: 20, -// }, -// editor: { -// size: 100 - 20 - panelSize.value, -// minSize: 20, -// }, -// console: { -// size: 100 - panelSize.value - -// }, -// }; -// });