Explorar o código

修改语音矩阵问题

dusenyao %!s(int64=3) %!d(string=hai) anos
pai
achega
bfaa4dd21b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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);