|
@@ -181,14 +181,15 @@ $(function() {
|
|
|
});
|
|
|
}else
|
|
|
if (obj.event === 'download') {
|
|
|
- var file_path = data.algorithm_path;
|
|
|
+ var file_path = data.file_path;
|
|
|
var newurl = file_path.substr(1, file_path.length);
|
|
|
file_path = newurl.substr(newurl.indexOf('\\') + 1, file_path.length);
|
|
|
newurl = file_path.substr(0, file_path.indexOf('.'));
|
|
|
var newimg = file_path.substr(file_path.indexOf('.'),file_path.length);
|
|
|
+ console.log(newimg)
|
|
|
newurl = urlBase + "sourcekg/" + newurl + newimg;
|
|
|
- // console.log(newurl)
|
|
|
- window.open(newurl)
|
|
|
+ console.log(newurl)
|
|
|
+ // window.open(newurl)
|
|
|
|
|
|
}
|
|
|
});
|