소스 검색

Update index.tsx

lex 1 년 전
부모
커밋
af1a6dfde4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/school/orchestra-story/index.tsx

+ 1 - 1
src/school/orchestra-story/index.tsx

@@ -220,7 +220,7 @@ export default defineComponent({
                   </div>
                   <p class={[styles.content, 'van-multi-ellipsis--l2']}>{item.content}</p>
 
-                  <Swipe class={styles.storySwipe}>
+                  <Swipe class={styles.storySwipe} touchable={item.type === 'VIDEO' ? false : true}>
                     {item.attachments &&
                       item.attachments.map((child: any) => (
                         <SwipeItem>