mirror of
https://git.joinfirefish.org/firefish/firefish.git
synced 2024-05-14 20:31:11 +02:00
fix: MkPagination init -> reload
This commit is contained in:
parent
c47d5d70e7
commit
5600799261
|
@ -5,7 +5,7 @@
|
|||
>
|
||||
<MkLoading v-if="fetching" />
|
||||
|
||||
<MkError v-else-if="error" @retry="init()" />
|
||||
<MkError v-else-if="error" @retry="reload()" />
|
||||
|
||||
<div v-else-if="empty" key="_empty_" class="empty">
|
||||
<slot name="empty">
|
||||
|
@ -479,7 +479,7 @@ const updateItem = (id: Item["id"], replacer: (old: Item) => Item): boolean => {
|
|||
};
|
||||
|
||||
if (props.pagination.params && isRef<Param>(props.pagination.params)) {
|
||||
watch(props.pagination.params, init, { deep: true });
|
||||
watch(props.pagination.params, reload, { deep: true });
|
||||
}
|
||||
|
||||
watch(
|
||||
|
|
Loading…
Reference in a new issue