(component): 整理 splitPanel 警告

This commit is contained in:
就眠儀式 2022-10-18 00:55:16 +08:00
parent b138bdb7fd
commit 8e46f6f6b2
2 changed files with 5 additions and 5 deletions

View File

@ -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,
}); });

View File

@ -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,
}); });