refactor(05): component (quo card, date picker, select zone)
This commit is contained in:
parent
2fd669b573
commit
270deacba7
4 changed files with 29 additions and 5 deletions
|
|
@ -11,6 +11,7 @@ const props = defineProps<{
|
|||
readonly?: boolean;
|
||||
clearable?: boolean;
|
||||
label?: string;
|
||||
bgColor?: string;
|
||||
rules?: ((value: string) => string | true)[];
|
||||
disabledDates?: string[] | Date[] | ((date: Date) => boolean);
|
||||
}>();
|
||||
|
|
@ -79,6 +80,7 @@ function valueUpdate(value: string) {
|
|||
hide-bottom-space
|
||||
dense
|
||||
outlined
|
||||
:bg-color="bgColor"
|
||||
:rules
|
||||
:label
|
||||
:for="id"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ const selectedItem = defineModel<unknown[]>('selectedItem', { default: [] });
|
|||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
items: unknown[];
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
items: any;
|
||||
color?: string;
|
||||
}>(),
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue