Add files via upload
This commit is contained in:
parent
cd0a32afc5
commit
5d86774e19
@ -320,12 +320,14 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
prefetchUrl: function(item,link) {
|
prefetchUrl: function(item, routePath) {
|
||||||
const key = Date.parse(item.modified);
|
const key = Date.parse(item.modified);
|
||||||
if (item.type === "image" && !this.fullSize) {
|
if (item.type === "image" && !this.fullSize) {
|
||||||
return `${baseURL}/api/preview/big${link.slice(6)}?k=${key}`;
|
return `${baseURL}/api/preview/big${routePath.slice(6)}?k=${key}`;
|
||||||
|
} else if (item.type === "image"){
|
||||||
|
return `${baseURL}/api/raw${routePath.slice(6)}?k=${key}`;
|
||||||
} else{
|
} else{
|
||||||
return `${baseURL}/api/raw${link.slice(6)}?k=${key}`;
|
return "";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
openMore() {
|
openMore() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user