mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-15 07:31:33 +00:00
file main get image
This commit is contained in:
7
node_modules/note.js
generated
vendored
7
node_modules/note.js
generated
vendored
@@ -1673,7 +1673,10 @@ var Note = {
|
||||
if(!content) {
|
||||
return;
|
||||
}
|
||||
console.log('syncImages..................');
|
||||
|
||||
// 这里, 导致file_main不用调用api_main了, 因为这里会调用api处理
|
||||
|
||||
// console.log('syncImages..................');
|
||||
// console.log(content);
|
||||
// 得到图片id
|
||||
// var reg = new RegExp(Evt.localUrl + "/api/file/getImage\\?fileId=(.{24})\"", 'g');
|
||||
@@ -1686,7 +1689,7 @@ var Note = {
|
||||
// console.log(s);
|
||||
if(s && s.length >= 2) {
|
||||
var fileId = s[1];
|
||||
console.log('sync image: ' + fileId);
|
||||
// console.log('sync image: ' + fileId);
|
||||
if(!me.inSyncImage[fileId]) {
|
||||
me.inSyncImage[fileId] = true;
|
||||
File.getImage(fileId, function() {
|
||||
|
Reference in New Issue
Block a user