更新脚本:移除=> ES6语法,兼容IE11
This commit is contained in:
parent
91f6133af7
commit
79fb721f87
|
@ -387,7 +387,7 @@
|
||||||
if ($.isFunction(op.callback)) op.callback.apply(that, arguments);
|
if ($.isFunction(op.callback)) op.callback.apply(that, arguments);
|
||||||
return console.error(err.toString());
|
return console.error(err.toString());
|
||||||
}).then(function () {
|
}).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;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue