fix bug
This commit is contained in:
parent
2899af3c5d
commit
037f261e70
1 changed files with 5 additions and 6 deletions
|
|
@ -352,11 +352,10 @@ watch(
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
function test() {
|
async function handleUpdateYear() {
|
||||||
nextTick(() => {
|
await nextTick();
|
||||||
formQuery.page = 1;
|
formQuery.page = 1;
|
||||||
fetchList();
|
fetchList();
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
@ -378,7 +377,7 @@ onMounted(() => {
|
||||||
autoApply
|
autoApply
|
||||||
year-picker
|
year-picker
|
||||||
:enableTimePicker="false"
|
:enableTimePicker="false"
|
||||||
@update:model-value="test"
|
@update:model-value="handleUpdateYear"
|
||||||
>
|
>
|
||||||
<template #year="{ year }">{{ year + 543 }}</template>
|
<template #year="{ year }">{{ year + 543 }}</template>
|
||||||
<template #year-overlay-value="{ value }">{{
|
<template #year-overlay-value="{ value }">{{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue