소스 검색

修改语音矩阵样式问题

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

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

@@ -25,7 +25,7 @@
         v-if="curQue.voiceMatrix.matrix.length > 0"
         class="matrix"
         :style="{
-          'grid-template': `40px repeat(${curQue.voiceMatrix.matrix[0].length}, auto) 1fr / 40px repeat(${curQue.voiceMatrix.matrix[0].length}, auto) 1fr`
+          'grid-template': `40px repeat(${curQue.voiceMatrix.matrix.length}, auto) 1fr / 40px repeat(${curQue.voiceMatrix.matrix[0].length}, auto) 1fr`
         }"
         @mouseleave="clearSelectCell"
       >