query views, router and store
This commit is contained in:
parent
8849d3e273
commit
0508e40494
8 changed files with 208 additions and 14 deletions
|
@ -64,7 +64,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" generic="T">
|
||||
<script setup lang="ts" generic="T extends { id: number }">
|
||||
import { computed, ref, watch } from "vue";
|
||||
import { ChevronRightIcon, ChevronLeftIcon, XMarkIcon } from "@heroicons/vue/20/solid";
|
||||
import Spinner from "./Spinner.vue";
|
||||
|
@ -105,6 +105,9 @@ const emit = defineEmits({
|
|||
search(search: string) {
|
||||
return typeof search == "number";
|
||||
},
|
||||
clickRow(id: number) {
|
||||
return typeof id == "number";
|
||||
},
|
||||
});
|
||||
|
||||
const entryCount = computed(() => props.totalCount ?? props.items.length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue