refactor(PaginationField): 移除不必要的占位元素
清理了未使用的占位div及其相关样式,简化DOM结构
Showing
1 changed file
with
1 additions
and
6 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-11-18 16:17:40 | 2 | * @Date: 2025-11-18 16:17:40 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-11-20 17:55:05 | 4 | + * @LastEditTime: 2025-11-20 17:56:14 |
| 5 | * @FilePath: /data-table/src/components/PaginationField/index.vue | 5 | * @FilePath: /data-table/src/components/PaginationField/index.vue |
| 6 | * @Description: 分页组件 | 6 | * @Description: 分页组件 |
| 7 | --> | 7 | --> |
| ... | @@ -21,7 +21,6 @@ | ... | @@ -21,7 +21,6 @@ |
| 21 | <van-button v-if="showSubmit" round type="primary" class="btn" @click="onSubmit">{{ submitButton.text }}</van-button> | 21 | <van-button v-if="showSubmit" round type="primary" class="btn" @click="onSubmit">{{ submitButton.text }}</van-button> |
| 22 | </div> | 22 | </div> |
| 23 | </div> | 23 | </div> |
| 24 | - <div class="placeholder" /> | ||
| 25 | </template> | 24 | </template> |
| 26 | 25 | ||
| 27 | <script setup> | 26 | <script setup> |
| ... | @@ -103,8 +102,4 @@ const onSubmit = () => emit('submit') | ... | @@ -103,8 +102,4 @@ const onSubmit = () => emit('submit') |
| 103 | } | 102 | } |
| 104 | } | 103 | } |
| 105 | } | 104 | } |
| 106 | - | ||
| 107 | -.placeholder { | ||
| 108 | - height: 3.75rem; | ||
| 109 | -} | ||
| 110 | </style> | 105 | </style> | ... | ... |
-
Please register or login to post a comment