|
|
@ -317,7 +317,7 @@ export class DataTableService { |
|
|
|
|
|
|
|
|
|
|
|
await baseModel.addLinks({ |
|
|
|
await baseModel.addLinks({ |
|
|
|
colId: column.id, |
|
|
|
colId: column.id, |
|
|
|
childIds: param.refRowIds, |
|
|
|
childIds: Array.isArray(param.refRowIds) ? param.refRowIds : [param.refRowIds], |
|
|
|
rowId: param.rowId, |
|
|
|
rowId: param.rowId, |
|
|
|
cookie: param.cookie, |
|
|
|
cookie: param.cookie, |
|
|
|
}); |
|
|
|
}); |
|
|
@ -340,7 +340,7 @@ export class DataTableService { |
|
|
|
|
|
|
|
|
|
|
|
await baseModel.removeLinks({ |
|
|
|
await baseModel.removeLinks({ |
|
|
|
colId: column.id, |
|
|
|
colId: column.id, |
|
|
|
childIds: param.refRowIds, |
|
|
|
childIds: Array.isArray(param.refRowIds) ? param.refRowIds : [param.refRowIds], |
|
|
|
rowId: param.rowId, |
|
|
|
rowId: param.rowId, |
|
|
|
cookie: param.cookie, |
|
|
|
cookie: param.cookie, |
|
|
|
}); |
|
|
|
}); |
|
|
|