...
|
...
|
@@ -678,10 +678,14 @@ const yoho = { |
|
|
getInput(args, success, fail) {
|
|
|
if (this.isYohoBuy && window.yohoInterface) {
|
|
|
alert(`发送消息${JSON.stringify(args)}`);
|
|
|
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
|
method: 'get.Input',
|
|
|
arguments: args
|
|
|
});
|
|
|
try {
|
|
|
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
|
method: 'get.Input',
|
|
|
arguments: args
|
|
|
});
|
|
|
} catch (e) {
|
|
|
alert(e.mesage);
|
|
|
}
|
|
|
} else {
|
|
|
// tip(tipInfo);
|
|
|
}
|
...
|
...
|
|