interface Props {
filterPopVisible: boolean;
reqType: string;
max: string;
error: boolean;
isMultiple?: boolean;
defaultKeys?: any[];
nodeKey?: string;
}
const props = withDefaults(defineProps<Props>(), {
isMultiple: true,
nodeKey: "business_id",
});
【vue3+ts】组件定义props并设置初始值
最新推荐文章于 2024-06-01 19:20:11 发布