diff --git a/packages/panel/src/components/Panel.svelte b/packages/panel/src/components/Panel.svelte
index fe892951fb..9b85807ef6 100644
--- a/packages/panel/src/components/Panel.svelte
+++ b/packages/panel/src/components/Panel.svelte
@@ -32,15 +32,9 @@
export let isSub: boolean = true
export let isAside: boolean = true
export let isCustomAttr: boolean = true
- export let minimize: boolean = false
-
- let docWidth: number = 0
- $: minimize = docWidth < 1280 && docWidth >= 1024
- $: needHeader = $$slots.header || minimize || isHeader
-
-
+