Authored by 毕凯

Update util.js dataSet

... ... @@ -266,7 +266,8 @@ exports.getDownloadStr = function(isWechat) {
}
exports.getAppPath = function() {
var appPath = document.getElementById('main-wrap').dataset.apppath;
var dataSet = document.getElementById('main-wrap').dataset || {};
var appPath = dataSet.apppath;
appPath = (appPath || '').replace('yohobuy://yohobuy.com/goapp?','') || 'openby:yohobuy={"action":"go.home","params":{"gender":"1","channel":"2"}}';
return appPath;
... ...