mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-12 08:08:46 +08:00
fix:优化前端图片展示添加默认图片
This commit is contained in:
@@ -250,6 +250,7 @@ export const useResourceStore = defineStore("resource", {
|
||||
cloudType: matchedDrive.type,
|
||||
channel: matchedDrive.name,
|
||||
pubDate: "",
|
||||
isSupportSave: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -281,6 +282,7 @@ export const useResourceStore = defineStore("resource", {
|
||||
const parsedCode = drive.parseShareCode(match);
|
||||
this.setLoadTree(true);
|
||||
let shareInfo = await drive.api.getShareInfo(parsedCode);
|
||||
console.log(shareInfo);
|
||||
this.setLoadTree(false);
|
||||
if (shareInfo) {
|
||||
shareInfo = {
|
||||
|
||||
Reference in New Issue
Block a user