实时数据页面修改

This commit is contained in:
fengrong 2024-10-30 10:10:00 +08:00
parent fe166a69cf
commit c950708856

View File

@ -449,17 +449,17 @@ const moveDown = (index:number) => {
const removeremove=(index:number, row:any)=>{
multipleSelection.value.splice(index, 1);
// const row = multipleSelection.value.splice(index, 1);
/*nextTick(() => {
nextTick(() => {
isCheckRow = true;
const finIindexNum = modalTbleData.value.findIndex((item: any) => item.attributeCode === row.attributeCode);
if (finIindexNum !== -1) {
tableRef.value.toggleRowSelection(modalTbleData.value[finIindexNum], undefined, false);
tableRef.value.toggleRowSelection(modalTbleData.value[finIindexNum], false, false);
ElMessage.success('删除成功')
} else {
ElMessage.warning(`当前页面中不存在${row.attributeName},请切换到别的分页操作`)
}
//selectTable(row)
})*/
})
//selectTable(multipleSelection.value)
//tableRef.value.clearSelection()