实时数据页面修改
This commit is contained in:
parent
fe166a69cf
commit
c950708856
@ -449,17 +449,17 @@ const moveDown = (index:number) => {
|
|||||||
const removeremove=(index:number, row:any)=>{
|
const removeremove=(index:number, row:any)=>{
|
||||||
multipleSelection.value.splice(index, 1);
|
multipleSelection.value.splice(index, 1);
|
||||||
// const row = multipleSelection.value.splice(index, 1);
|
// const row = multipleSelection.value.splice(index, 1);
|
||||||
/*nextTick(() => {
|
nextTick(() => {
|
||||||
isCheckRow = true;
|
isCheckRow = true;
|
||||||
const finIindexNum = modalTbleData.value.findIndex((item: any) => item.attributeCode === row.attributeCode);
|
const finIindexNum = modalTbleData.value.findIndex((item: any) => item.attributeCode === row.attributeCode);
|
||||||
if (finIindexNum !== -1) {
|
if (finIindexNum !== -1) {
|
||||||
tableRef.value.toggleRowSelection(modalTbleData.value[finIindexNum], undefined, false);
|
tableRef.value.toggleRowSelection(modalTbleData.value[finIindexNum], false, false);
|
||||||
ElMessage.success('删除成功')
|
ElMessage.success('删除成功')
|
||||||
} else {
|
} else {
|
||||||
ElMessage.warning(`当前页面中不存在${row.attributeName},请切换到别的分页操作`)
|
ElMessage.warning(`当前页面中不存在${row.attributeName},请切换到别的分页操作`)
|
||||||
}
|
}
|
||||||
//selectTable(row)
|
//selectTable(row)
|
||||||
})*/
|
})
|
||||||
//selectTable(multipleSelection.value)
|
//selectTable(multipleSelection.value)
|
||||||
//tableRef.value.clearSelection()
|
//tableRef.value.clearSelection()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user