Jelajahi Sumber

修改语音矩阵问题

dusenyao 3 tahun lalu
induk
melakukan
bfaa4dd21b
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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);