소스 검색

Update index.tsx

lex 1 년 전
부모
커밋
8f4d7e3f13
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/page-instrument/view-figner/index.tsx

+ 2 - 2
src/page-instrument/view-figner/index.tsx

@@ -972,7 +972,7 @@ export default defineComponent({
                 {playAction.userAnswerStatus === 1 && <div class={[styles.tipsT, styles.playSuccess]}></div>}
                 {playAction.userAnswerStatus === 2 && <div class={[styles.tipsT, styles.playError]}></div>}
 
-                {data.noteType !== "#c" && orientationDirection.value === 0 && (
+                {(data.noteType !== "#c" && orientationDirection.value === 0 || orientationDirection.value === 1) && (
                   <Button class={styles.noteBtn} onClick={() => scrollNoteBox("left")}>
                     <Icon name="arrow-left" />
                   </Button>
@@ -1056,7 +1056,7 @@ export default defineComponent({
                     </div>
                   </div>
                 </div>
-                {data.noteType !== "#c" && orientationDirection.value === 0 && (
+                {(data.noteType !== "#c" && orientationDirection.value === 0 || orientationDirection.value === 1) && (
                   <Button class={styles.noteBtn} onClick={() => scrollNoteBox("right")}>
                     <Icon name="arrow" />
                   </Button>