@luck-design-biz/luckda 1.0.5-13tl → 1.0.6-13tl
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.
|
@@ -82,19 +82,18 @@ var LCDialog = function LCDialog(_ref) {
|
|
|
82
82
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
83
83
|
while (1) switch (_context.prev = _context.next) {
|
|
84
84
|
case 0:
|
|
85
|
-
|
|
86
|
-
_context.
|
|
87
|
-
_context.next = 4;
|
|
85
|
+
_context.prev = 0;
|
|
86
|
+
_context.next = 3;
|
|
88
87
|
return ctx.doAction(advance.events.onOk);
|
|
89
|
-
case
|
|
90
|
-
_context.prev =
|
|
88
|
+
case 3:
|
|
89
|
+
_context.prev = 3;
|
|
91
90
|
setLoading(false);
|
|
92
|
-
return _context.finish(
|
|
93
|
-
case
|
|
91
|
+
return _context.finish(3);
|
|
92
|
+
case 6:
|
|
94
93
|
case "end":
|
|
95
94
|
return _context.stop();
|
|
96
95
|
}
|
|
97
|
-
}, _callee, null, [[
|
|
96
|
+
}, _callee, null, [[0,, 3, 6]]);
|
|
98
97
|
})));
|
|
99
98
|
var _footer = useCreation(function () {
|
|
100
99
|
if (isBoolean(footer) && !footer || isObject(footer) && !footer.checked || isObject(footer) && footer.code && !executeCode(ctx, footer.code)) return {
|
|
@@ -49,7 +49,6 @@ export var ImportUploadPop = function ImportUploadPop(_ref) {
|
|
|
49
49
|
// 清除进度
|
|
50
50
|
var clearProgress = function clearProgress(batchNo) {
|
|
51
51
|
clearProcess(batchNo).then(function () {
|
|
52
|
-
console.log('clearProgress', options.tableRef);
|
|
53
52
|
options.tableRef && options.tableRef.current && options.tableRef.current.onLdQuery();
|
|
54
53
|
});
|
|
55
54
|
};
|
|
@@ -90,19 +90,18 @@ var LCDialog = function LCDialog(_ref) {
|
|
|
90
90
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
91
91
|
while (1) switch (_context.prev = _context.next) {
|
|
92
92
|
case 0:
|
|
93
|
-
|
|
94
|
-
_context.
|
|
95
|
-
_context.next = 4;
|
|
93
|
+
_context.prev = 0;
|
|
94
|
+
_context.next = 3;
|
|
96
95
|
return ctx.doAction(advance.events.onOk);
|
|
97
|
-
case
|
|
98
|
-
_context.prev =
|
|
96
|
+
case 3:
|
|
97
|
+
_context.prev = 3;
|
|
99
98
|
setLoading(false);
|
|
100
|
-
return _context.finish(
|
|
101
|
-
case
|
|
99
|
+
return _context.finish(3);
|
|
100
|
+
case 6:
|
|
102
101
|
case "end":
|
|
103
102
|
return _context.stop();
|
|
104
103
|
}
|
|
105
|
-
}, _callee, null, [[
|
|
104
|
+
}, _callee, null, [[0,, 3, 6]]);
|
|
106
105
|
})));
|
|
107
106
|
var _footer = (0, _ahooks.useCreation)(function () {
|
|
108
107
|
if ((0, _lodash.isBoolean)(footer) && !footer || (0, _lodash.isObject)(footer) && !footer.checked || (0, _lodash.isObject)(footer) && footer.code && !(0, _helper.executeCode)(ctx, footer.code)) return {
|
|
@@ -57,7 +57,6 @@ var ImportUploadPop = exports.ImportUploadPop = function ImportUploadPop(_ref) {
|
|
|
57
57
|
// 清除进度
|
|
58
58
|
var clearProgress = function clearProgress(batchNo) {
|
|
59
59
|
(0, _apiUrl.clearProcess)(batchNo).then(function () {
|
|
60
|
-
console.log('clearProgress', options.tableRef);
|
|
61
60
|
options.tableRef && options.tableRef.current && options.tableRef.current.onLdQuery();
|
|
62
61
|
});
|
|
63
62
|
};
|
package/package.json
CHANGED