소스 검색

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

xinyan 9 달 전
부모
커밋
e696c26553
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,