...
|
...
|
@@ -103,6 +103,23 @@ const yoho = { |
|
|
},
|
|
|
|
|
|
/**
|
|
|
* 获取app版本号
|
|
|
* @param args {""}
|
|
|
* @param success
|
|
|
* @param fail
|
|
|
*/
|
|
|
getAppVersion(args, success, fail) {
|
|
|
if (this.isApp && window.yohoInterface) {
|
|
|
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
|
method: 'get.appversion',
|
|
|
arguments: args
|
|
|
});
|
|
|
} else {
|
|
|
// tip(tipInfo);
|
|
|
}
|
|
|
},
|
|
|
|
|
|
/**
|
|
|
* 退出登录,清除本地用户数据
|
|
|
* @param args {""}
|
|
|
* @param success
|
...
|
...
|
|