perf: #6943 change type vnTable.prop
This commit is contained in:
parent
858eff6ba3
commit
a617abe042
|
@ -58,7 +58,7 @@ const $props = defineProps({
|
|||
default: 'flex-one',
|
||||
},
|
||||
searchUrl: {
|
||||
type: String,
|
||||
type: [String, Boolean],
|
||||
default: 'table',
|
||||
},
|
||||
isEditable: {
|
||||
|
|
|
@ -248,7 +248,7 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
|
|||
|
||||
function updateStateParams() {
|
||||
const newUrl = { path: route.path, query: { ...(route.query ?? {}) } };
|
||||
if (store.appendParams)
|
||||
if (store.searchUrl)
|
||||
newUrl.query[store.searchUrl] = JSON.stringify(store.currentFilter);
|
||||
|
||||
if (store.navigate) {
|
||||
|
|
|
@ -160,6 +160,7 @@ const rowClick = ({ id }) =>
|
|||
:disable-option="{ card: true, table: true }"
|
||||
class="full-width"
|
||||
:disable-infinite-scroll="true"
|
||||
:search-url="false"
|
||||
>
|
||||
<template #column-nickname="{ row }">
|
||||
<span class="link">
|
||||
|
|
Loading…
Reference in New Issue