This commit is contained in:
parent
e977467eff
commit
cf404f5dfa
|
@ -121,8 +121,6 @@ const validDate = new RegExp(
|
||||||
/T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(.[0-9]+)?(Z)?$/.source
|
/T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(.[0-9]+)?(Z)?$/.source
|
||||||
);
|
);
|
||||||
|
|
||||||
const filteredWorkers = ref([]);
|
|
||||||
|
|
||||||
function castJsonValue(value) {
|
function castJsonValue(value) {
|
||||||
return typeof value === 'string' && validDate.test(value) ? new Date(value) : value;
|
return typeof value === 'string' && validDate.test(value) ? new Date(value) : value;
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,6 +85,9 @@ const value = computed({
|
||||||
fill-input
|
fill-input
|
||||||
ref="vnSelectRef"
|
ref="vnSelectRef"
|
||||||
>
|
>
|
||||||
|
<template #append>
|
||||||
|
<QIcon name="close" @click.stop="value = null" class="cursor-pointer" />
|
||||||
|
</template>
|
||||||
<template v-for="(_, slotName) in $slots" #[slotName]="slotData">
|
<template v-for="(_, slotName) in $slots" #[slotName]="slotData">
|
||||||
<slot :name="slotName" v-bind="slotData" />
|
<slot :name="slotName" v-bind="slotData" />
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue