zhangjie 1 년 전
부모
커밋
a4b5a81ca4
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/utils/utils.ts

+ 3 - 1
src/utils/utils.ts

@@ -273,7 +273,9 @@ export async function processSliceUrls(_currentTask: Task | undefined) {
   const getNum = (num) => Math.max(Math.min(1, num), 0);
 
   const sheetUrls = _currentTask.sheetUrls || [];
-  const sheetConfig = store.setting.sheetConfig || [];
+  const sheetConfig = (store.setting.sheetConfig || []).map((item) => {
+    return { ...item };
+  });
 
   const urls = [];
   for (let i = 0; i < sheetUrls.length; i++) {