Pārlūkot izejas kodu

修改显示模式

lex 2 gadi atpakaļ
vecāks
revīzija
3687585e97
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/views/information/index.tsx

+ 1 - 1
src/views/information/index.tsx

@@ -110,7 +110,7 @@ export default defineComponent({
                 }}
               >
                 {{
-                  icon: () => <Image src={item.coverImage} class={styles.img} />,
+                  icon: () => <Image src={item.coverImage} class={styles.img} fit="cover" />,
                   title: () => (
                     <>
                       <div class={[styles.title, 'van-ellipsis']}>{item.title}</div>