✨(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 { useMousePressed } from "@vueuse/core";
|
||||
|
||||
interface LayStepProps {
|
||||
export interface StepProps {
|
||||
vertical?: boolean;
|
||||
minSize?: number;
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<LayStepProps>(), {
|
||||
const props = withDefaults(defineProps<StepProps>(), {
|
||||
vertical: false,
|
||||
minSize: 50,
|
||||
});
|
||||
|
@ -18,11 +18,11 @@ import {
|
||||
|
||||
import type { ComputedRef } from "vue";
|
||||
|
||||
export interface LayStepItemProps {
|
||||
export interface StepItemProps {
|
||||
space?: number;
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<LayStepItemProps>(), {
|
||||
const props = withDefaults(defineProps<StepItemProps>(), {
|
||||
space: 0,
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user