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() {
|
||||
nextTick(() => {
|
||||
formQuery.page = 1;
|
||||
fetchList();
|
||||
});
|
||||
async function handleUpdateYear() {
|
||||
await nextTick();
|
||||
formQuery.page = 1;
|
||||
fetchList();
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
|
|
@ -378,7 +377,7 @@ onMounted(() => {
|
|||
autoApply
|
||||
year-picker
|
||||
:enableTimePicker="false"
|
||||
@update:model-value="test"
|
||||
@update:model-value="handleUpdateYear"
|
||||
>
|
||||
<template #year="{ year }">{{ year + 543 }}</template>
|
||||
<template #year-overlay-value="{ value }">{{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue