mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-12 08:08:46 +08:00
Optimized the PC experience
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user