mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-16 08:01:53 +00:00
之前下载的图片可能是错的 (服务器忙), 现在重新下载!
This commit is contained in:
6
node_modules/file.js
generated
vendored
6
node_modules/file.js
generated
vendored
@@ -532,7 +532,7 @@ var File = {
|
||||
} else {
|
||||
// 远程取不到图片, 是没有网络? 还是远程真的没有了
|
||||
// TODO
|
||||
// console.log("cann't get server's image" + fileId);
|
||||
console.log("cann't get server's image" + fileId);
|
||||
callback(false);
|
||||
// return me.e404(res);
|
||||
}
|
||||
@@ -547,8 +547,8 @@ var File = {
|
||||
// console.log(fs.exists(fileLocalPath));
|
||||
if(has && fileLocalPath) {
|
||||
fs.exists(fileLocalPath, function(exists) {
|
||||
if(exists) {
|
||||
// console.log('本地存在');
|
||||
if(exists) {
|
||||
// console.log('本地存在 ' + fileId);
|
||||
callback(fileLocalPath);
|
||||
// me.retImage(fileLocalPath, res);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user