|
@@ -328,7 +328,14 @@ export default {
|
|
|
console.log("👇转译结果👇");
|
|
|
console.log(privText);
|
|
|
this.recordedForm.startTime = this.recordedForm.timeDuration + 1;
|
|
|
+ console.log(
|
|
|
+ '赋值前。。。',this.videoText.replace(/(^|[\r\n]+).*?\[\.\.\.\][\r\n]+/, `${privText} [...]\r\n`)
|
|
|
+ );
|
|
|
+
|
|
|
this.videoText += privText;
|
|
|
+ console.log(
|
|
|
+ '赋值后。。。',this.videoText.replace(/(^|[\r\n]+).*?\[\.\.\.\][\r\n]+/, `${privText} [...]\r\n`)
|
|
|
+ );
|
|
|
// 将textarea滚动到最底部
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.videoTextTextarea.scrollTop = this.$refs.videoTextTextarea.scrollHeight;
|