Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
gruppler committed Dec 5, 2023
1 parent 3c53ba0 commit 5404249
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { ref, onBeforeMount, toRaw } from 'vue';
import { ref, onBeforeMount } from 'vue';
import { Dark, useQuasar, LocalStorage } from 'quasar';
import Search from '@/components/Search.vue';
import TableComponent from '@/components/Table.vue'
Expand Down Expand Up @@ -129,17 +129,12 @@
paginationParamKeys
.filter(key => pagination.value[key] !== undefined)
.forEach(key => params[key] = pagination.value[key]);
// if (new URLSearchParams(location.search).) {
history.pushState({}, "", new URL(
`${location.origin}${location.pathname}?${new URLSearchParams(params)}`
));
// }
history.pushState({}, "", new URL(
`${location.origin}${location.pathname}?${new URLSearchParams(params)}`
));
}
async function setSearchData(params: any) {
if(params.size){
params.size = params.size.value || params.size;
}
if(params.size){
params.size = params.size.value || params.size;
}
Expand Down

0 comments on commit 5404249

Please sign in to comment.