This commit is contained in:
@@ -202,22 +202,24 @@ function extractTakesPlace(sheet) {
|
|||||||
if (!cell.isMerged) {
|
if (!cell.isMerged) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
let str = "";
|
||||||
|
try {
|
||||||
|
str = cell.master.value.trim();
|
||||||
|
|
||||||
let str = cell.master.value.trim();
|
let i = 5;
|
||||||
|
while (true) {
|
||||||
|
const nextCell = sheet.getCell(`B${i}`);
|
||||||
|
|
||||||
let i = 5;
|
if (!nextCell.isMerged) {
|
||||||
while (true) {
|
break;
|
||||||
const nextCell = sheet.getCell(`B${i}`);
|
}
|
||||||
|
|
||||||
if (!nextCell.isMerged) {
|
const cell = nextCell.master
|
||||||
break;
|
|
||||||
|
str += `\n${cell.value.trim()}`
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
|
} catch {}
|
||||||
const cell = nextCell.master
|
|
||||||
|
|
||||||
str += `\n${cell.value.trim()}`
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
|
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user