|
@@ -672,15 +672,17 @@ export default {
|
|
|
widthNumber: null,
|
|
widthNumber: null,
|
|
|
};
|
|
};
|
|
|
// 分段
|
|
// 分段
|
|
|
|
|
+ let paraindex = 0;
|
|
|
contentArr.forEach((item, index) => {
|
|
contentArr.forEach((item, index) => {
|
|
|
if (item.trim()) {
|
|
if (item.trim()) {
|
|
|
detailItem.para = item;
|
|
detailItem.para = item;
|
|
|
- detailItem.paraIndex = index;
|
|
|
|
|
|
|
+ detailItem.paraIndex = paraindex;
|
|
|
this.data.detail.push(JSON.parse(JSON.stringify(detailItem)));
|
|
this.data.detail.push(JSON.parse(JSON.stringify(detailItem)));
|
|
|
|
|
|
|
|
let str = Base64.encode(item);
|
|
let str = Base64.encode(item);
|
|
|
textList.push(str);
|
|
textList.push(str);
|
|
|
contentStr += `${item.trim()}\n`;
|
|
contentStr += `${item.trim()}\n`;
|
|
|
|
|
+ paraindex++;
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
BatchSegContent({
|
|
BatchSegContent({
|