wargerm 0.3.4 → 0.3.8
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.
- package/dist/components/ModalTips/index.d.ts +1 -0
- package/dist/index.css +12 -2
- package/dist/index.esm.css +12 -2
- package/dist/index.esm.js +40 -30
- package/dist/index.js +40 -30
- package/package.json +2 -2
package/dist/index.css
CHANGED
@@ -269,6 +269,7 @@
|
|
269
269
|
display: flex;
|
270
270
|
align-items: center;
|
271
271
|
justify-content: center;
|
272
|
+
text-align: center;
|
272
273
|
position: relative;
|
273
274
|
z-index: 2;
|
274
275
|
}
|
@@ -318,9 +319,10 @@
|
|
318
319
|
display: flex;
|
319
320
|
align-items: center;
|
320
321
|
justify-content: center;
|
322
|
+
text-align: center;
|
321
323
|
position: relative;
|
322
324
|
z-index: 2;
|
323
|
-
height: 32px;
|
325
|
+
min-height: 32px;
|
324
326
|
}
|
325
327
|
[data-prefers-color='dark'] .container .tbody {
|
326
328
|
overflow: auto;
|
@@ -330,7 +332,7 @@
|
|
330
332
|
[data-prefers-color='dark'] .container .tbody .tr {
|
331
333
|
padding-left: 6px;
|
332
334
|
width: 100%;
|
333
|
-
height: 32px;
|
335
|
+
min-height: 32px;
|
334
336
|
display: flex;
|
335
337
|
margin-bottom: 17px;
|
336
338
|
position: relative;
|
@@ -369,6 +371,7 @@
|
|
369
371
|
display: flex;
|
370
372
|
align-items: center;
|
371
373
|
justify-content: center;
|
374
|
+
text-align: center;
|
372
375
|
position: relative;
|
373
376
|
z-index: 2;
|
374
377
|
}
|
@@ -377,6 +380,7 @@
|
|
377
380
|
display: flex;
|
378
381
|
align-items: center;
|
379
382
|
justify-content: center;
|
383
|
+
text-align: center;
|
380
384
|
position: relative;
|
381
385
|
z-index: 2;
|
382
386
|
}
|
@@ -426,6 +430,7 @@
|
|
426
430
|
display: flex;
|
427
431
|
align-items: center;
|
428
432
|
justify-content: center;
|
433
|
+
text-align: center;
|
429
434
|
position: relative;
|
430
435
|
z-index: 2;
|
431
436
|
min-height: 32px;
|
@@ -477,6 +482,7 @@
|
|
477
482
|
display: flex;
|
478
483
|
align-items: center;
|
479
484
|
justify-content: center;
|
485
|
+
text-align: center;
|
480
486
|
position: relative;
|
481
487
|
z-index: 2;
|
482
488
|
}
|
@@ -485,6 +491,7 @@
|
|
485
491
|
display: flex;
|
486
492
|
align-items: center;
|
487
493
|
justify-content: center;
|
494
|
+
text-align: center;
|
488
495
|
position: relative;
|
489
496
|
z-index: 2;
|
490
497
|
}
|
@@ -1839,6 +1846,9 @@ button.swiper-pagination-bullet {
|
|
1839
1846
|
.model_container-tips .model_wrap-tips .model_bottom-tips .okbtn:hover {
|
1840
1847
|
border: 1px solid #276588;
|
1841
1848
|
}
|
1849
|
+
.model_container-tips .model_wrap-tips .model_bottom-tips .okbtn .ant-btn-loading-icon {
|
1850
|
+
width: auto !important;
|
1851
|
+
}
|
1842
1852
|
.model_container-tips .model_wrap-tips .model_bottom-tips .concellbtn {
|
1843
1853
|
background: #1487c2;
|
1844
1854
|
font-size: 14px;
|
package/dist/index.esm.css
CHANGED
@@ -269,6 +269,7 @@
|
|
269
269
|
display: flex;
|
270
270
|
align-items: center;
|
271
271
|
justify-content: center;
|
272
|
+
text-align: center;
|
272
273
|
position: relative;
|
273
274
|
z-index: 2;
|
274
275
|
}
|
@@ -318,9 +319,10 @@
|
|
318
319
|
display: flex;
|
319
320
|
align-items: center;
|
320
321
|
justify-content: center;
|
322
|
+
text-align: center;
|
321
323
|
position: relative;
|
322
324
|
z-index: 2;
|
323
|
-
height: 32px;
|
325
|
+
min-height: 32px;
|
324
326
|
}
|
325
327
|
[data-prefers-color='dark'] .container .tbody {
|
326
328
|
overflow: auto;
|
@@ -330,7 +332,7 @@
|
|
330
332
|
[data-prefers-color='dark'] .container .tbody .tr {
|
331
333
|
padding-left: 6px;
|
332
334
|
width: 100%;
|
333
|
-
height: 32px;
|
335
|
+
min-height: 32px;
|
334
336
|
display: flex;
|
335
337
|
margin-bottom: 17px;
|
336
338
|
position: relative;
|
@@ -369,6 +371,7 @@
|
|
369
371
|
display: flex;
|
370
372
|
align-items: center;
|
371
373
|
justify-content: center;
|
374
|
+
text-align: center;
|
372
375
|
position: relative;
|
373
376
|
z-index: 2;
|
374
377
|
}
|
@@ -377,6 +380,7 @@
|
|
377
380
|
display: flex;
|
378
381
|
align-items: center;
|
379
382
|
justify-content: center;
|
383
|
+
text-align: center;
|
380
384
|
position: relative;
|
381
385
|
z-index: 2;
|
382
386
|
}
|
@@ -426,6 +430,7 @@
|
|
426
430
|
display: flex;
|
427
431
|
align-items: center;
|
428
432
|
justify-content: center;
|
433
|
+
text-align: center;
|
429
434
|
position: relative;
|
430
435
|
z-index: 2;
|
431
436
|
min-height: 32px;
|
@@ -477,6 +482,7 @@
|
|
477
482
|
display: flex;
|
478
483
|
align-items: center;
|
479
484
|
justify-content: center;
|
485
|
+
text-align: center;
|
480
486
|
position: relative;
|
481
487
|
z-index: 2;
|
482
488
|
}
|
@@ -485,6 +491,7 @@
|
|
485
491
|
display: flex;
|
486
492
|
align-items: center;
|
487
493
|
justify-content: center;
|
494
|
+
text-align: center;
|
488
495
|
position: relative;
|
489
496
|
z-index: 2;
|
490
497
|
}
|
@@ -1839,6 +1846,9 @@ button.swiper-pagination-bullet {
|
|
1839
1846
|
.model_container-tips .model_wrap-tips .model_bottom-tips .okbtn:hover {
|
1840
1847
|
border: 1px solid #276588;
|
1841
1848
|
}
|
1849
|
+
.model_container-tips .model_wrap-tips .model_bottom-tips .okbtn .ant-btn-loading-icon {
|
1850
|
+
width: auto !important;
|
1851
|
+
}
|
1842
1852
|
.model_container-tips .model_wrap-tips .model_bottom-tips .concellbtn {
|
1843
1853
|
background: #1487c2;
|
1844
1854
|
font-size: 14px;
|
package/dist/index.esm.js
CHANGED
@@ -737,7 +737,7 @@ var WSelect = function WSelect(props) {
|
|
737
737
|
|
738
738
|
onLoad && onLoad(options);
|
739
739
|
setValueEnumList(valueEnumNode);
|
740
|
-
}, [JSON.stringify(resList)]);
|
740
|
+
}, [JSON.stringify(resList), request]);
|
741
741
|
return /*#__PURE__*/React.createElement(_Select, _objectSpread2({}, extraProps), request ? childrenNode : valueEnum ? valueEnumList : children);
|
742
742
|
};
|
743
743
|
|
@@ -7891,7 +7891,7 @@ var WForm$1 = /*#__PURE__*/React.forwardRef(WForm);
|
|
7891
7891
|
|
7892
7892
|
var _excluded$7 = ["columns", "dataSource", "request", "onLoad", "params", "onSubmit", "rowKey", "onRow", "className", "rowClassName", "rowSelection", "style", "tbodyStyle", "thStyle", "border", "scroll", "pagination", "search", "frameBoxTable", "frameBoxDirection", "formRef", "none"];
|
7893
7893
|
function Table(_ref) {
|
7894
|
-
var _formSearchRef$
|
7894
|
+
var _formSearchRef$curren4, _classnames2;
|
7895
7895
|
|
7896
7896
|
var columns = _ref.columns,
|
7897
7897
|
tableList = _ref.dataSource,
|
@@ -7973,13 +7973,15 @@ function Table(_ref) {
|
|
7973
7973
|
if (formSearchRef === null || formSearchRef === void 0 ? void 0 : (_formSearchRef$curren = formSearchRef.current) === null || _formSearchRef$curren === void 0 ? void 0 : _formSearchRef$curren.columnsFields) {
|
7974
7974
|
var _formSearchRef$curren2;
|
7975
7975
|
|
7976
|
-
if (formRef === null || formRef === void 0 ? void 0 : formRef.current) {
|
7977
|
-
formRef.current = formSearchRef === null || formSearchRef === void 0 ? void 0 : formSearchRef.current;
|
7978
|
-
}
|
7979
|
-
|
7980
7976
|
setColumnsFields(formSearchRef === null || formSearchRef === void 0 ? void 0 : (_formSearchRef$curren2 = formSearchRef.current) === null || _formSearchRef$curren2 === void 0 ? void 0 : _formSearchRef$curren2.columnsFields);
|
7981
7977
|
}
|
7982
|
-
|
7978
|
+
|
7979
|
+
if ((formSearchRef === null || formSearchRef === void 0 ? void 0 : formSearchRef.current) && formRef) {
|
7980
|
+
var _formSearchRef$curren3;
|
7981
|
+
|
7982
|
+
formRef.current = formSearchRef === null || formSearchRef === void 0 ? void 0 : (_formSearchRef$curren3 = formSearchRef.current) === null || _formSearchRef$curren3 === void 0 ? void 0 : _formSearchRef$curren3.form;
|
7983
|
+
}
|
7984
|
+
}, [JSON.stringify(formSearchRef === null || formSearchRef === void 0 ? void 0 : (_formSearchRef$curren4 = formSearchRef.current) === null || _formSearchRef$curren4 === void 0 ? void 0 : _formSearchRef$curren4.columnsFields), formRef, formSearchRef]);
|
7983
7985
|
|
7984
7986
|
var flattenColumns = function flattenColumns(columns) {
|
7985
7987
|
var arr = columns.reduce(function (pre, cur) {
|
@@ -8208,18 +8210,23 @@ function Table(_ref) {
|
|
8208
8210
|
dataSource = _useState10[0],
|
8209
8211
|
setDataSource = _useState10[1];
|
8210
8212
|
|
8211
|
-
var _useState11 = useState(
|
8213
|
+
var _useState11 = useState(0),
|
8212
8214
|
_useState12 = _slicedToArray(_useState11, 2),
|
8213
|
-
|
8214
|
-
|
8215
|
+
total = _useState12[0],
|
8216
|
+
setTotal = _useState12[1];
|
8215
8217
|
|
8216
|
-
var _useState13 = useState(
|
8218
|
+
var _useState13 = useState({}),
|
8217
8219
|
_useState14 = _slicedToArray(_useState13, 2),
|
8218
|
-
|
8219
|
-
|
8220
|
+
pageParams = _useState14[0],
|
8221
|
+
setPageParams = _useState14[1];
|
8220
8222
|
|
8221
|
-
var _useState15 = useState(
|
8222
|
-
|
8223
|
+
var _useState15 = useState(false),
|
8224
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
8225
|
+
loading = _useState16[0],
|
8226
|
+
setLoading = _useState16[1];
|
8227
|
+
|
8228
|
+
var _useState17 = useState({
|
8229
|
+
total: total,
|
8223
8230
|
pageSize: 20,
|
8224
8231
|
size: 'small',
|
8225
8232
|
current: 1,
|
@@ -8234,9 +8241,9 @@ function Table(_ref) {
|
|
8234
8241
|
});
|
8235
8242
|
}
|
8236
8243
|
}),
|
8237
|
-
|
8238
|
-
paginationParams =
|
8239
|
-
setpaginationParams =
|
8244
|
+
_useState18 = _slicedToArray(_useState17, 2),
|
8245
|
+
paginationParams = _useState18[0],
|
8246
|
+
setpaginationParams = _useState18[1];
|
8240
8247
|
|
8241
8248
|
useEffect(function () {
|
8242
8249
|
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
@@ -8246,7 +8253,7 @@ function Table(_ref) {
|
|
8246
8253
|
switch (_context.prev = _context.next) {
|
8247
8254
|
case 0:
|
8248
8255
|
if (!request) {
|
8249
|
-
_context.next =
|
8256
|
+
_context.next = 15;
|
8250
8257
|
break;
|
8251
8258
|
}
|
8252
8259
|
|
@@ -8267,15 +8274,16 @@ function Table(_ref) {
|
|
8267
8274
|
setLoading(false);
|
8268
8275
|
onLoad && onLoad(res.data);
|
8269
8276
|
setDataSource(res.data);
|
8277
|
+
setTotal(res.total || 0);
|
8270
8278
|
setpaginationParams(function (c) {
|
8271
8279
|
return _objectSpread2(_objectSpread2(_objectSpread2({}, c), {}, {
|
8272
8280
|
total: res.total || res.data.length
|
8273
8281
|
}, pagination), requestParams);
|
8274
8282
|
});
|
8275
|
-
_context.next =
|
8283
|
+
_context.next = 16;
|
8276
8284
|
break;
|
8277
8285
|
|
8278
|
-
case
|
8286
|
+
case 15:
|
8279
8287
|
setpaginationParams(function (c) {
|
8280
8288
|
var obj = _objectSpread2(_objectSpread2(_objectSpread2({}, c), {}, {
|
8281
8289
|
total: tableList && tableList.length || 0
|
@@ -8287,7 +8295,7 @@ function Table(_ref) {
|
|
8287
8295
|
return obj;
|
8288
8296
|
});
|
8289
8297
|
|
8290
|
-
case
|
8298
|
+
case 16:
|
8291
8299
|
case "end":
|
8292
8300
|
return _context.stop();
|
8293
8301
|
}
|
@@ -9829,7 +9837,8 @@ var Modal$1 = /*#__PURE__*/function (_React$PureComponent) {
|
|
9829
9837
|
onCancel = _this$props.onCancel,
|
9830
9838
|
cancelText = _this$props.cancelText,
|
9831
9839
|
okText = _this$props.okText,
|
9832
|
-
footer = _this$props.footer
|
9840
|
+
footer = _this$props.footer,
|
9841
|
+
isLoading = _this$props.isLoading;
|
9833
9842
|
if (footer && /*#__PURE__*/React.isValidElement(footer)) return footer;
|
9834
9843
|
if (footer === false) return null;
|
9835
9844
|
return /*#__PURE__*/React.createElement("div", {
|
@@ -9840,19 +9849,20 @@ var Modal$1 = /*#__PURE__*/function (_React$PureComponent) {
|
|
9840
9849
|
display: 'flex'
|
9841
9850
|
}
|
9842
9851
|
}, /*#__PURE__*/React.createElement(WButton, {
|
9843
|
-
className: "okbtn",
|
9844
|
-
onClick: function onClick(e) {
|
9845
|
-
onOk && onOk(e);
|
9846
|
-
}
|
9847
|
-
}, okText || '确定'), /*#__PURE__*/React.createElement(WButton, {
|
9848
9852
|
className: "concellbtn",
|
9849
9853
|
style: {
|
9850
|
-
|
9854
|
+
marginRight: '10px'
|
9851
9855
|
},
|
9852
9856
|
onClick: function onClick(e) {
|
9853
9857
|
onCancel && onCancel(e);
|
9854
9858
|
}
|
9855
|
-
}, cancelText || '取消')
|
9859
|
+
}, cancelText || '取消'), /*#__PURE__*/React.createElement(WButton, {
|
9860
|
+
className: "okbtn",
|
9861
|
+
loading: isLoading || false,
|
9862
|
+
onClick: function onClick(e) {
|
9863
|
+
onOk && onOk(e);
|
9864
|
+
}
|
9865
|
+
}, okText || '确定')));
|
9856
9866
|
};
|
9857
9867
|
|
9858
9868
|
_this.renderTop = function () {
|
package/dist/index.js
CHANGED
@@ -771,7 +771,7 @@ var WSelect = function WSelect(props) {
|
|
771
771
|
|
772
772
|
onLoad && onLoad(options);
|
773
773
|
setValueEnumList(valueEnumNode);
|
774
|
-
}, [JSON.stringify(resList)]);
|
774
|
+
}, [JSON.stringify(resList), request]);
|
775
775
|
return /*#__PURE__*/React__default['default'].createElement(_Select__default['default'], _objectSpread2({}, extraProps), request ? childrenNode : valueEnum ? valueEnumList : children);
|
776
776
|
};
|
777
777
|
|
@@ -7925,7 +7925,7 @@ var WForm$1 = /*#__PURE__*/React__default['default'].forwardRef(WForm);
|
|
7925
7925
|
|
7926
7926
|
var _excluded$7 = ["columns", "dataSource", "request", "onLoad", "params", "onSubmit", "rowKey", "onRow", "className", "rowClassName", "rowSelection", "style", "tbodyStyle", "thStyle", "border", "scroll", "pagination", "search", "frameBoxTable", "frameBoxDirection", "formRef", "none"];
|
7927
7927
|
function Table(_ref) {
|
7928
|
-
var _formSearchRef$
|
7928
|
+
var _formSearchRef$curren4, _classnames2;
|
7929
7929
|
|
7930
7930
|
var columns = _ref.columns,
|
7931
7931
|
tableList = _ref.dataSource,
|
@@ -8007,13 +8007,15 @@ function Table(_ref) {
|
|
8007
8007
|
if (formSearchRef === null || formSearchRef === void 0 ? void 0 : (_formSearchRef$curren = formSearchRef.current) === null || _formSearchRef$curren === void 0 ? void 0 : _formSearchRef$curren.columnsFields) {
|
8008
8008
|
var _formSearchRef$curren2;
|
8009
8009
|
|
8010
|
-
if (formRef === null || formRef === void 0 ? void 0 : formRef.current) {
|
8011
|
-
formRef.current = formSearchRef === null || formSearchRef === void 0 ? void 0 : formSearchRef.current;
|
8012
|
-
}
|
8013
|
-
|
8014
8010
|
setColumnsFields(formSearchRef === null || formSearchRef === void 0 ? void 0 : (_formSearchRef$curren2 = formSearchRef.current) === null || _formSearchRef$curren2 === void 0 ? void 0 : _formSearchRef$curren2.columnsFields);
|
8015
8011
|
}
|
8016
|
-
|
8012
|
+
|
8013
|
+
if ((formSearchRef === null || formSearchRef === void 0 ? void 0 : formSearchRef.current) && formRef) {
|
8014
|
+
var _formSearchRef$curren3;
|
8015
|
+
|
8016
|
+
formRef.current = formSearchRef === null || formSearchRef === void 0 ? void 0 : (_formSearchRef$curren3 = formSearchRef.current) === null || _formSearchRef$curren3 === void 0 ? void 0 : _formSearchRef$curren3.form;
|
8017
|
+
}
|
8018
|
+
}, [JSON.stringify(formSearchRef === null || formSearchRef === void 0 ? void 0 : (_formSearchRef$curren4 = formSearchRef.current) === null || _formSearchRef$curren4 === void 0 ? void 0 : _formSearchRef$curren4.columnsFields), formRef, formSearchRef]);
|
8017
8019
|
|
8018
8020
|
var flattenColumns = function flattenColumns(columns) {
|
8019
8021
|
var arr = columns.reduce(function (pre, cur) {
|
@@ -8242,18 +8244,23 @@ function Table(_ref) {
|
|
8242
8244
|
dataSource = _useState10[0],
|
8243
8245
|
setDataSource = _useState10[1];
|
8244
8246
|
|
8245
|
-
var _useState11 = React.useState(
|
8247
|
+
var _useState11 = React.useState(0),
|
8246
8248
|
_useState12 = _slicedToArray(_useState11, 2),
|
8247
|
-
|
8248
|
-
|
8249
|
+
total = _useState12[0],
|
8250
|
+
setTotal = _useState12[1];
|
8249
8251
|
|
8250
|
-
var _useState13 = React.useState(
|
8252
|
+
var _useState13 = React.useState({}),
|
8251
8253
|
_useState14 = _slicedToArray(_useState13, 2),
|
8252
|
-
|
8253
|
-
|
8254
|
+
pageParams = _useState14[0],
|
8255
|
+
setPageParams = _useState14[1];
|
8254
8256
|
|
8255
|
-
var _useState15 = React.useState(
|
8256
|
-
|
8257
|
+
var _useState15 = React.useState(false),
|
8258
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
8259
|
+
loading = _useState16[0],
|
8260
|
+
setLoading = _useState16[1];
|
8261
|
+
|
8262
|
+
var _useState17 = React.useState({
|
8263
|
+
total: total,
|
8257
8264
|
pageSize: 20,
|
8258
8265
|
size: 'small',
|
8259
8266
|
current: 1,
|
@@ -8268,9 +8275,9 @@ function Table(_ref) {
|
|
8268
8275
|
});
|
8269
8276
|
}
|
8270
8277
|
}),
|
8271
|
-
|
8272
|
-
paginationParams =
|
8273
|
-
setpaginationParams =
|
8278
|
+
_useState18 = _slicedToArray(_useState17, 2),
|
8279
|
+
paginationParams = _useState18[0],
|
8280
|
+
setpaginationParams = _useState18[1];
|
8274
8281
|
|
8275
8282
|
React.useEffect(function () {
|
8276
8283
|
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
@@ -8280,7 +8287,7 @@ function Table(_ref) {
|
|
8280
8287
|
switch (_context.prev = _context.next) {
|
8281
8288
|
case 0:
|
8282
8289
|
if (!request) {
|
8283
|
-
_context.next =
|
8290
|
+
_context.next = 15;
|
8284
8291
|
break;
|
8285
8292
|
}
|
8286
8293
|
|
@@ -8301,15 +8308,16 @@ function Table(_ref) {
|
|
8301
8308
|
setLoading(false);
|
8302
8309
|
onLoad && onLoad(res.data);
|
8303
8310
|
setDataSource(res.data);
|
8311
|
+
setTotal(res.total || 0);
|
8304
8312
|
setpaginationParams(function (c) {
|
8305
8313
|
return _objectSpread2(_objectSpread2(_objectSpread2({}, c), {}, {
|
8306
8314
|
total: res.total || res.data.length
|
8307
8315
|
}, pagination), requestParams);
|
8308
8316
|
});
|
8309
|
-
_context.next =
|
8317
|
+
_context.next = 16;
|
8310
8318
|
break;
|
8311
8319
|
|
8312
|
-
case
|
8320
|
+
case 15:
|
8313
8321
|
setpaginationParams(function (c) {
|
8314
8322
|
var obj = _objectSpread2(_objectSpread2(_objectSpread2({}, c), {}, {
|
8315
8323
|
total: tableList && tableList.length || 0
|
@@ -8321,7 +8329,7 @@ function Table(_ref) {
|
|
8321
8329
|
return obj;
|
8322
8330
|
});
|
8323
8331
|
|
8324
|
-
case
|
8332
|
+
case 16:
|
8325
8333
|
case "end":
|
8326
8334
|
return _context.stop();
|
8327
8335
|
}
|
@@ -9863,7 +9871,8 @@ var Modal$1 = /*#__PURE__*/function (_React$PureComponent) {
|
|
9863
9871
|
onCancel = _this$props.onCancel,
|
9864
9872
|
cancelText = _this$props.cancelText,
|
9865
9873
|
okText = _this$props.okText,
|
9866
|
-
footer = _this$props.footer
|
9874
|
+
footer = _this$props.footer,
|
9875
|
+
isLoading = _this$props.isLoading;
|
9867
9876
|
if (footer && /*#__PURE__*/React__default['default'].isValidElement(footer)) return footer;
|
9868
9877
|
if (footer === false) return null;
|
9869
9878
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
@@ -9874,19 +9883,20 @@ var Modal$1 = /*#__PURE__*/function (_React$PureComponent) {
|
|
9874
9883
|
display: 'flex'
|
9875
9884
|
}
|
9876
9885
|
}, /*#__PURE__*/React__default['default'].createElement(WButton, {
|
9877
|
-
className: "okbtn",
|
9878
|
-
onClick: function onClick(e) {
|
9879
|
-
onOk && onOk(e);
|
9880
|
-
}
|
9881
|
-
}, okText || '确定'), /*#__PURE__*/React__default['default'].createElement(WButton, {
|
9882
9886
|
className: "concellbtn",
|
9883
9887
|
style: {
|
9884
|
-
|
9888
|
+
marginRight: '10px'
|
9885
9889
|
},
|
9886
9890
|
onClick: function onClick(e) {
|
9887
9891
|
onCancel && onCancel(e);
|
9888
9892
|
}
|
9889
|
-
}, cancelText || '取消')
|
9893
|
+
}, cancelText || '取消'), /*#__PURE__*/React__default['default'].createElement(WButton, {
|
9894
|
+
className: "okbtn",
|
9895
|
+
loading: isLoading || false,
|
9896
|
+
onClick: function onClick(e) {
|
9897
|
+
onOk && onOk(e);
|
9898
|
+
}
|
9899
|
+
}, okText || '确定')));
|
9890
9900
|
};
|
9891
9901
|
|
9892
9902
|
_this.renderTop = function () {
|
package/package.json
CHANGED