diff --git a/package/component/src/component/splitPanel/index.vue b/package/component/src/component/splitPanel/index.vue index 5cc37d5d..b720d030 100644 --- a/package/component/src/component/splitPanel/index.vue +++ b/package/component/src/component/splitPanel/index.vue @@ -9,12 +9,12 @@ import { ref, watch, provide, withDefaults, onMounted } from "vue"; import "./index.less"; import { useMousePressed } from "@vueuse/core"; -interface LayStepProps { +export interface StepProps { vertical?: boolean; minSize?: number; } -const props = withDefaults(defineProps(), { +const props = withDefaults(defineProps(), { vertical: false, minSize: 50, }); diff --git a/package/component/src/component/splitPanelItem/index.vue b/package/component/src/component/splitPanelItem/index.vue index 47ad6452..aad6ffec 100644 --- a/package/component/src/component/splitPanelItem/index.vue +++ b/package/component/src/component/splitPanelItem/index.vue @@ -18,11 +18,11 @@ import { import type { ComputedRef } from "vue"; -export interface LayStepItemProps { +export interface StepItemProps { space?: number; } -const props = withDefaults(defineProps(), { +const props = withDefaults(defineProps(), { space: 0, }); @@ -121,4 +121,4 @@ onBeforeUnmount(() => { > - + \ No newline at end of file