소스 검색

修改语音矩阵问题

dusenyao 3 년 전
부모
커밋
bfaa4dd21b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/components/Adult/preview/VoiceMatrix.vue

+ 2 - 2
src/components/Adult/preview/VoiceMatrix.vue

@@ -341,7 +341,7 @@ export default {
       if (type.length > 0 && index >= 0 && type === "row") {
         this.curQue.voiceMatrix.matrix[index].forEach(item => {
           if (
-            item.type !== "connection" ||
+            item.type !== "connection" &&
             (item.type === "text" && item.text.length > 0)
           ) {
             this.lrcArray.push(item.lrc_data);
@@ -354,7 +354,7 @@ export default {
       if (type.length > 0 && index >= 0 && type === "column") {
         this.curQue.voiceMatrix.matrix.forEach(item => {
           if (
-            item.type !== "connection" ||
+            item.type !== "connection" &&
             (item.type === "text" && item.text.length > 0)
           ) {
             this.lrcArray.push(item[index].lrc_data);