Sfoglia il codice sorgente

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

xinyan 9 mesi fa
parent
commit
e696c26553
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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,