no message

This commit is contained in:
gongjiale 2023-01-12 16:52:35 +08:00
parent 9dd4399f80
commit ddf78f3b6b
1 changed files with 7 additions and 6 deletions

View File

@ -119,8 +119,8 @@ export default defineComponent({
// //
const loading = ref(true) const loading = ref(true)
const currentPage = ref(1) const currentPage = ref(1)
const currentPageSize = ref(10) const currentPageSize = ref(9)
const pageSizeOptions = ref(['2', '5', '10', '20', '50']) const pageSizeOptions = ref(['3', '6', '9', '18', '27'])
const router = useRouter() const router = useRouter()
const select = router.currentRoute.value.query.select const select = router.currentRoute.value.query.select
const returnType = router.currentRoute.value.query.returnType const returnType = router.currentRoute.value.query.returnType
@ -171,7 +171,8 @@ export default defineComponent({
// //
searchValue.value = storageSearchInfo.name searchValue.value = storageSearchInfo.name
currentPage.value = storageSearchInfo.page currentPage.value = storageSearchInfo.page
currentPageSize.value = storageSearchInfo.limit // currentPageSize.value = storageSearchInfo.limit
currentPageSize.value = 9
paramsGetResources.limit = storageSearchInfo.limit paramsGetResources.limit = storageSearchInfo.limit
paramsGetResources.page = storageSearchInfo.page paramsGetResources.page = storageSearchInfo.page
paramsGetResources.type = storageSearchInfo.type paramsGetResources.type = storageSearchInfo.type
@ -231,10 +232,10 @@ export default defineComponent({
searchValue.value = '' searchValue.value = ''
// //
currentPage.value = 1 currentPage.value = 1
currentPageSize.value = 10 currentPageSize.value = 9
// //
paramsGetResources.page = 1 paramsGetResources.page = 1
paramsGetResources.limit = 10 paramsGetResources.limit = 9
paramsGetResources.orderField = 'create_date' paramsGetResources.orderField = 'create_date'
paramsGetResources.orderType = 'DESC' paramsGetResources.orderType = 'DESC'
clickSensesList.value=[] clickSensesList.value=[]
@ -663,7 +664,7 @@ export default defineComponent({
.pagination { .pagination {
background: #f3f5f9; background: #f3f5f9;
padding-top: 10px; padding-top: 10px;
padding-bottom: 23px; padding-bottom: 23px;
} }