diff --git a/components.d.ts b/components.d.ts index 861a006..ec94045 100644 --- a/components.d.ts +++ b/components.d.ts @@ -9,12 +9,14 @@ declare module 'vue' { export interface GlobalComponents { Confirm: typeof import('./src/components/Confirm.vue')['default'] ElButton: typeof import('element-plus/es')['ElButton'] + ElCol: typeof import('element-plus/es')['ElCol'] ElDropdown: typeof import('element-plus/es')['ElDropdown'] ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] ElFooter: typeof import('element-plus/es')['ElFooter'] ElHeader: typeof import('element-plus/es')['ElHeader'] ElIcon: typeof import('element-plus/es')['ElIcon'] + ElRow: typeof import('element-plus/es')['ElRow'] ElTable: typeof import('element-plus/es')['ElTable'] ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] ErrorModal: typeof import('./src/components/dialogs/ErrorModal.vue')['default'] diff --git a/src/pages/Index/components/Consumables/IdCardInfo.vue b/src/pages/Index/components/Consumables/IdCardInfo.vue index f3c1313..a641d96 100644 --- a/src/pages/Index/components/Consumables/IdCardInfo.vue +++ b/src/pages/Index/components/Consumables/IdCardInfo.vue @@ -290,11 +290,6 @@ watch(currentPage, ()=>{ getCardList() }) -// 处理页大小变化 -const handlePageSizeChange = () => { - currentPage.value = 1 // 重置当前页 - getCardList() // 重新获取数据 -}