Pārlūkot izejas kodu

Update index.tsx

lex 1 gadu atpakaļ
vecāks
revīzija
af1a6dfde4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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>