Optimized the PC experience

This commit is contained in:
jiangrui
2025-03-08 12:33:42 +08:00
parent f23e78e8dd
commit 6efdea55aa
6 changed files with 73 additions and 8 deletions

View File

@@ -147,7 +147,7 @@ export const useResourceStore = defineStore("resource", {
}
ElMessage.warning("没有更多了~");
} else {
this.resources = data.map((item) => ({ ...item, displayList: true }));
this.resources = data.map((item, index) => ({ ...item, displayList: index === 0 }));
if (!keyword) {
// 获取当前时间字符串 用于存储到本地
this.lastUpdateTime = new Date().toLocaleString();