diff --git a/components.d.ts b/components.d.ts index cb74f3e..f346c00 100644 --- a/components.d.ts +++ b/components.d.ts @@ -24,8 +24,7 @@ declare module '@vue/runtime-core' { VanDivider: typeof import('vant/es')['Divider'] VanField: typeof import('vant/es')['Field'] VanIcon: typeof import('vant/es')['Icon'] + VanList: typeof import('vant/es')['List'] VanStepper: typeof import('vant/es')['Stepper'] - VanSwipe: typeof import('vant/es')['Swipe'] - VanSwipeItem: typeof import('vant/es')['SwipeItem'] } } diff --git a/src/views/badge/record.vue b/src/views/badge/record.vue index 78d5ac1..21577c2 100644 --- a/src/views/badge/record.vue +++ b/src/views/badge/record.vue @@ -5,23 +5,30 @@
注:可点击效果图进行下单打印
-
-
- - -
-
-
- 设计中 -
-
- 设计失败 + +
+
+ + +
+
+
+ 设计中 +
+
+ 设计失败 +
-
-
- 暂无数据 -
+
+ 暂无数据 +
+
@@ -43,7 +50,7 @@ function getList() { badgeApi.getLogOage({ page: page.value, - pageSize: 10, + size: 100, }).then(res => { if(page.value === 1) { images.value = res.list @@ -51,7 +58,7 @@ function getList() { images.value.push(...res.list) } - if(res.list.length < 10) { + if(res.total <= images.value.length) { finished.value = true } else { page.value++