浏览代码

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>