fix: 模板修改。

This commit is contained in:
tianyongbao
2026-02-22 20:59:28 +08:00
parent 6e57601721
commit 8edf974085

View File

@@ -139,7 +139,14 @@
</template>
</el-table-column>
</el-table>
<el-pagination small background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange" />
<el-pagination
small
background
layout="total,sizes, prev, pager, next"
:total="total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
/>
</div>
</div>
<!-- 添加或修改${functionName}对话框 -->
@@ -476,6 +483,12 @@
getList()
}
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 多选框选中数据
function handleSelectionChange (selection) {
ids.value = selection.map(item => item.${pkColumn.javaField})