|
@@ -330,6 +330,7 @@ export default {
|
|
|
this.recordedForm.startTime = this.recordedForm.timeDuration + 1;
|
|
|
// this.videoText += privText;
|
|
|
this.videoText = this.videoText.replace(/(^|[\r\n]+).*?\[\.\.\.\][\r\n]+/, `${privText} [...]\r\n`);
|
|
|
+ console.log(this.videoText);
|
|
|
// 将textarea滚动到最底部
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.videoTextTextarea.scrollTop = this.$refs.videoTextTextarea.scrollHeight;
|
|
@@ -558,6 +559,8 @@ export default {
|
|
|
this.recordedForm.startTime = this.recordedForm.timeDuration + 1;
|
|
|
// this.videoText += privText;
|
|
|
this.videoText = this.videoText.replace(/(^|[\r\n]+).*?\[\.\.\.\][\r\n]+/, `${privText} [...]\r\n`);
|
|
|
+ console.log(this.videoText);
|
|
|
+
|
|
|
// 将textarea滚动到最底部
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.videoTextTextarea.scrollTop = this.$refs.videoTextTextarea.scrollHeight;
|