一、前端正常传数组,但是value.toString() 即可
const empIds = ref([1,2,3])
empIds.value = empIds.value.toString()
await updateApiRules(empIds.value) // 接口传参
二、后端用String类型接收后转换
String[] empIds= updateDO.getEmpId().split(",");
String result = "[" + String.join(",", empIds) + "]";
DO.setNotcEmp(result);