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