更新脚本:移除=> ES6语法,兼容IE11

This commit is contained in:
Argo-Surface 2018-11-22 15:38:49 +08:00
parent 91f6133af7
commit 79fb721f87
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@
if ($.isFunction(op.callback)) op.callback.apply(that, arguments);
return console.error(err.toString());
}).then(function () {
if (op.invoke) op.invoke(connection).then(result => console.log(result)).catch(err => console.error(err.toString()));
if (op.invoke) op.invoke(connection).then(function (result) { console.log(result); }).catch(function (err) { console.error(err.toString()); });
});
return this;
}