fix bug
This commit is contained in:
parent
abddd04570
commit
2899af3c5d
2 changed files with 12 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, reactive, onMounted, watch } from "vue";
|
||||
import { ref, reactive, onMounted, watch, nextTick } from "vue";
|
||||
import { useQuasar, type QTableProps } from "quasar";
|
||||
import { useRouter } from "vue-router";
|
||||
import http from "@/plugins/http";
|
||||
|
|
@ -352,6 +352,13 @@ watch(
|
|||
}
|
||||
);
|
||||
|
||||
function test() {
|
||||
nextTick(() => {
|
||||
formQuery.page = 1;
|
||||
fetchList();
|
||||
});
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
fetchList();
|
||||
});
|
||||
|
|
@ -371,7 +378,7 @@ onMounted(() => {
|
|||
autoApply
|
||||
year-picker
|
||||
:enableTimePicker="false"
|
||||
@update:model-value="(formQuery.page = 1), fetchList()"
|
||||
@update:model-value="test"
|
||||
>
|
||||
<template #year="{ year }">{{ year + 543 }}</template>
|
||||
<template #year-overlay-value="{ value }">{{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue