Эх сурвалжийг харах

优化:解决打包报错

(cherry picked from commit 3901e4da84196fdd24f1bec1196d22a08e810f30)
lishanshan 4 сар өмнө
parent
commit
b2b705b34c

+ 1 - 2
src/components/couponList.vue

@@ -12,7 +12,6 @@ import { useAreaStore } from '@/store/area'
 import { getImageUrl } from '@/utils/imageUtil'
 
 import { safeAreaInsets } from '@/utils'
-import { l } from 'node_modules/vite/dist/node/types.d-aGj9QkWt'
 import { useTokenStore } from '@/store/token'
 import { toLoginPage } from '@/utils/toLoginPage'
 
@@ -47,7 +46,7 @@ const { send, data, pageCount, loading, page, pageSize, isLastPage, refresh, rel
     country: currentCity.value?.value === 'all' ? '' : currentCity.value.value,
 }), {
     initialPage: 1,
-    initialPageSize: 7,
+    initialPageSize: 10,
     append: true,
     preloadNextPage: false,
     preloadPreviousPage: false,

+ 1 - 1
src/pages-A/newCouponList/index.vue

@@ -41,7 +41,7 @@ const { send, data, pageCount, loading, page, pageSize, isLastPage, refresh, rel
     country: currentCity.value?.value === 'all' ? '' : currentCity.value?.value,
 }), {
     initialPage: 1,
-    initialPageSize: 7,
+    initialPageSize: 10,
     append: true,
     preloadNextPage: false,
     preloadPreviousPage: false,