perf: #6943 change type vnTable.prop

This commit is contained in:
Javier Segarra 2024-10-25 09:50:01 +02:00
parent 858eff6ba3
commit a617abe042
3 changed files with 3 additions and 2 deletions

View File

@ -58,7 +58,7 @@ const $props = defineProps({
default: 'flex-one', default: 'flex-one',
}, },
searchUrl: { searchUrl: {
type: String, type: [String, Boolean],
default: 'table', default: 'table',
}, },
isEditable: { isEditable: {

View File

@ -248,7 +248,7 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
function updateStateParams() { function updateStateParams() {
const newUrl = { path: route.path, query: { ...(route.query ?? {}) } }; const newUrl = { path: route.path, query: { ...(route.query ?? {}) } };
if (store.appendParams) if (store.searchUrl)
newUrl.query[store.searchUrl] = JSON.stringify(store.currentFilter); newUrl.query[store.searchUrl] = JSON.stringify(store.currentFilter);
if (store.navigate) { if (store.navigate) {

View File

@ -160,6 +160,7 @@ const rowClick = ({ id }) =>
:disable-option="{ card: true, table: true }" :disable-option="{ card: true, table: true }"
class="full-width" class="full-width"
:disable-infinite-scroll="true" :disable-infinite-scroll="true"
:search-url="false"
> >
<template #column-nickname="{ row }"> <template #column-nickname="{ row }">
<span class="link"> <span class="link">