fix: 模板修改。
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user