|
@@ -616,6 +616,7 @@ export default {
|
|
|
this.data.detail = [];
|
|
this.data.detail = [];
|
|
|
let contentArr = this.data.content.split('\n');
|
|
let contentArr = this.data.content.split('\n');
|
|
|
let textList = [];
|
|
let textList = [];
|
|
|
|
|
+ let contentStr = '';
|
|
|
let detailItem = {
|
|
let detailItem = {
|
|
|
paraIndex: 0,
|
|
paraIndex: 0,
|
|
|
para: '',
|
|
para: '',
|
|
@@ -656,10 +657,11 @@ export default {
|
|
|
|
|
|
|
|
let str = Base64.encode(item);
|
|
let str = Base64.encode(item);
|
|
|
textList.push(str);
|
|
textList.push(str);
|
|
|
|
|
+ contentStr += item.trim() + '\n';
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
BatchSegContent({
|
|
BatchSegContent({
|
|
|
- text: this.data.content,
|
|
|
|
|
|
|
+ text: contentStr,
|
|
|
is_build_pinyin: 'true',
|
|
is_build_pinyin: 'true',
|
|
|
is_custom_fc: 'false',
|
|
is_custom_fc: 'false',
|
|
|
is_vocabulary_pinyin_lt: 'true',
|
|
is_vocabulary_pinyin_lt: 'true',
|