fix : 完善页面细节

This commit is contained in:
2024-05-10 00:29:07 +08:00
parent 90de57698b
commit 371a55cfe1
5 changed files with 68 additions and 47 deletions

View File

@@ -2,10 +2,11 @@
<div class="fv-table-container">
<!-- 表格头部按钮 -->
<div class="fv-table-btn" v-if="tableConfig.btns">
<el-button
<el-button
v-for="btn in tableConfig.btns"
:key="btn.key"
:key="btn.key"
:type="btn.type || ''"
:color="btn.color || ''"
v-perm="btn.auth || ['*:*:*']"
@click="handleClickBtns(btn.key)"
>
@@ -47,7 +48,7 @@
</template>
</el-table>
<!-- 分页 -->
<fvPagination
<fvPagination
v-if="pagination"
:current-page="localData.query.pageNum"
:page-size="localData.query.pageSize"
@@ -180,9 +181,9 @@ defineExpose({ refresh, updateLoading, getQuery, tableInstance })
onMounted(() => {
getList()
})
</script>
<style lang="scss" scoped>
</style>
</style>