mirror of
https://gitee.com/bootx/dax-pay-ui
synced 2026-08-11 15:15:34 +08:00
fix(admin): 码牌列表刷新后同步清空 vxe 勾选状态
queryPage 只清 selectedRows 导致批量按钮变灰但复选框仍勾选,刷新时一并 clearCheckboxRow。
This commit is contained in:
@@ -110,6 +110,8 @@
|
||||
.then((res: any) => {
|
||||
tableData.value = res.data.records || [];
|
||||
pageConfig.value.total = Number(res.data.total) || 0;
|
||||
// 同步清空表格勾选与业务选中态, 避免按钮/复选框状态不一致
|
||||
xTable.value?.clearCheckboxRow();
|
||||
selectedRows.value = [];
|
||||
loading.value = false;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user