ref #6104 refactor
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2023-10-19 09:57:34 +02:00
parent e977467eff
commit cf404f5dfa
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -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>