@zgfe/modules-dm 1.0.34-heyh.27 → 1.0.34-heyh.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19,6 +19,7 @@ import { eventListHandle, groupListSort, eventCheckedAll, openChangeData, eventS
|
|
|
19
19
|
import React, { Fragment, useContext, useEffect, useState } from 'react';
|
|
20
20
|
import _ from 'lodash';
|
|
21
21
|
import SortableComponnet from './sortableComponnet';
|
|
22
|
+
var requestMove = false;
|
|
22
23
|
import { DmContext } from '../../../store';
|
|
23
24
|
var EventGroupingDrawer = function EventGroupingDrawer(props) {
|
|
24
25
|
var classPrefix = 'event-grouping-drawer';
|
|
@@ -188,6 +189,11 @@ var EventGroupingDrawer = function EventGroupingDrawer(props) {
|
|
|
188
189
|
}
|
|
189
190
|
};
|
|
190
191
|
var eventMoveChange = function eventMoveChange() {
|
|
192
|
+
if (requestMove) {
|
|
193
|
+
console.log(11111111);
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
requestMove = true;
|
|
191
197
|
request(apis.operateGroupRelations, {
|
|
192
198
|
method: 'post',
|
|
193
199
|
data: {
|
|
@@ -205,6 +211,9 @@ var EventGroupingDrawer = function EventGroupingDrawer(props) {
|
|
|
205
211
|
state.updateEventMetas && state.updateEventMetas(); // 更新store
|
|
206
212
|
}
|
|
207
213
|
}).finally(function () {
|
|
214
|
+
setTimeout(function () {
|
|
215
|
+
requestMove = false;
|
|
216
|
+
}, 1000);
|
|
208
217
|
setEventMoveShow(undefined);
|
|
209
218
|
});
|
|
210
219
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.34-heyh.
|
|
3
|
+
"version": "1.0.34-heyh.28",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"umi-request": "^1.4.0",
|
|
53
53
|
"yorkie": "^2.0.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "8e420eed07c0b2c21a18d58d78d864d26f0c1efc",
|
|
56
56
|
"gitHooks": {
|
|
57
57
|
"pre-commit": "lint-staged"
|
|
58
58
|
}
|