diff --git a/src/views/eam/device/deviceinspectionjob/deviceInspectionMain.data.ts b/src/views/eam/device/deviceinspectionjob/deviceInspectionMain.data.ts index 765e18b..dac00fc 100644 --- a/src/views/eam/device/deviceinspectionjob/deviceInspectionMain.data.ts +++ b/src/views/eam/device/deviceinspectionjob/deviceInspectionMain.data.ts @@ -490,7 +490,12 @@ export const DeviceInspectionDetail = useCrudSchemas(reactive([ filterable: true, }, formatter: (_: Recordable, __: TableColumn, cellValue) => { - const cellValueList = cellValue?.split(','); + let cellValueList = [] + if (cellValue.includes(',')) { + cellValueList = cellValue?.split(','); + } else { + cellValueList = [cellValue] + } return userListAll .filter(item => cellValueList.includes(item.id.toString())) .map(item => item.nickname)