Prechádzať zdrojové kódy

修改语音矩阵问题

dusenyao 3 rokov pred
rodič
commit
bfaa4dd21b

+ 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);