✨(component): 整理 splitPanel 警告
This commit is contained in:
parent
b138bdb7fd
commit
8e46f6f6b2
@ -9,12 +9,12 @@ import { ref, watch, provide, withDefaults, onMounted } from "vue";
|
|||||||
import "./index.less";
|
import "./index.less";
|
||||||
import { useMousePressed } from "@vueuse/core";
|
import { useMousePressed } from "@vueuse/core";
|
||||||
|
|
||||||
interface LayStepProps {
|
export interface StepProps {
|
||||||
vertical?: boolean;
|
vertical?: boolean;
|
||||||
minSize?: number;
|
minSize?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
const props = withDefaults(defineProps<LayStepProps>(), {
|
const props = withDefaults(defineProps<StepProps>(), {
|
||||||
vertical: false,
|
vertical: false,
|
||||||
minSize: 50,
|
minSize: 50,
|
||||||
});
|
});
|
||||||
|
@ -18,11 +18,11 @@ import {
|
|||||||
|
|
||||||
import type { ComputedRef } from "vue";
|
import type { ComputedRef } from "vue";
|
||||||
|
|
||||||
export interface LayStepItemProps {
|
export interface StepItemProps {
|
||||||
space?: number;
|
space?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
const props = withDefaults(defineProps<LayStepItemProps>(), {
|
const props = withDefaults(defineProps<StepItemProps>(), {
|
||||||
space: 0,
|
space: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -121,4 +121,4 @@ onBeforeUnmount(() => {
|
|||||||
>
|
>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
Loading…
Reference in New Issue
Block a user