Explorar el Código

🐛 feat<任务列表>: 数据处理问题

xinyan hace 9 meses
padre
commit
e696c26553
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/reportManage/TaskManage/index.vue

+ 1 - 1
src/views/reportManage/TaskManage/index.vue

@@ -551,7 +551,7 @@ async function updateRow(row) {
       country: row.country,
       brandName: row.brandName,
       user: row.user,
-      operater: row.operater?.split(',').map(item => item.trim()),
+      operater: Array.isArray(row.operater) ? row.operater : row.operater.split(',').map(item => item.trim()),
       currencyCode: row.currencyCode,
       currencyCodePlatform: row.currencyCodePlatform,
       line: row.line,