Fix insertAction bug

This commit is contained in:
oc committed 2019-03-21 01:09:42 +08:00
1 parent 0297b566c7
commit 54b659b5d6
1 file changed
+2 -1
+2 -1
View File
@@ -755,7 +755,8 @@ events.prototype.setEvents = function (list, x, y, callback) {
if (x != null) data.x = x;
if (y != null) data.y = y;
if (callback) data.callback = callback;
core.status.event = {id: 'action', data: data};
core.status.event.id = 'action';
core.status.event.data = data;
}
////// 执行当前自定义事件列表中的下一个事件 //////