Skip to content

Commit

Permalink
release: v2.2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
hjwforever committed Oct 28, 2024
1 parent 3453d29 commit 83f2186
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "MegSpot",
"version": "v2.2.10",
"version": "v2.2.11",
"author": "weiyajun <weiyajun@megvii.com>",
"description": "A tool to improve the viewing of pictures and videos by researchers",
"homepage": "https://github.com/MegEngine/MegSpot",
Expand Down Expand Up @@ -44,8 +44,8 @@
"appId": "org.megvii.megspot",
"copyright": " Copyright (c) 2022 Megvii Inc. All rights reserved.",
"releaseInfo": {
"releaseNotes": "一、新增功能\n 1. 拖拽对比 模式中显示图像名称;\n 2. 支持在图像对比及视频对比中进入 拖拽对比 模式;\n二、bug修复:\n 1. 已修复拖拽对比中图像展示的顺序;",
"releaseDate": "2024.06.02"
"releaseNotes": "一、性能优化\n 1. 对gallery画廊的图像列表启用懒加载,解决了文件过多时导致的卡顿问题",
"releaseDate": "2024.10.28"
},
"directories": {
"output": "build"
Expand Down Expand Up @@ -237,4 +237,4 @@
"node": "16.20.2",
"yarn": "1.22.21"
}
}
}
4 changes: 2 additions & 2 deletions src/renderer/components/gallery/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
</span>
</div>
<div class="content" flex="main:center cross:center">
<img name="dragItem" loading="lazy" decoding="async" :src="getImageUrlSync(item)" v-if="isImage(item)" />
<video name="dragItem" loading="lazy" :src="getImageUrlSync(item)" v-if="isVideo(item)" />
<img name="dragItem" width="200px" height="130px" loading="lazy" decoding="async" :src="getImageUrlSync(item)" v-if="isImage(item)" />
<video name="dragItem" width="200px" height="130px" loading="lazy" :src="getImageUrlSync(item)" v-if="isVideo(item)" />
</div>
<div class="name" :title="item">
<span v-html="$options.filters.getFileName(item)"></span>
Expand Down

0 comments on commit 83f2186

Please sign in to comment.