Authored by 沈志敏

增加版本号 判断

@@ -25,7 +25,8 @@ var createCORSRequest = function(method, url) { @@ -25,7 +25,8 @@ var createCORSRequest = function(method, url) {
25 25
26 //发送图片方式 26 //发送图片方式
27 exports.imgSend = function(param, callback) { 27 exports.imgSend = function(param, callback) {
28 - if (window.appBaseLogs || window.qs.app_version || window.qs.appVersion) { 28 + var appVer = window.qs.app_version || window.qs.appVersion;
  29 + if (window.appBaseLogs || appVer >= '5.2.1') {
29 // 从app中打开的wap页场合,走app的上报逻辑 30 // 从app中打开的wap页场合,走app的上报逻辑
30 return; 31 return;
31 } 32 }