easy3wui 1.5.22 → 1.5.24-beta1
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/assets/btn.css +17 -0
- package/assets/captcha.css +5 -0
- package/assets/card.css +34 -0
- package/assets/exception.css +76 -0
- package/assets/flow.css +860 -0
- package/assets/formPage.css +40 -0
- package/assets/globalFooter.css +26 -0
- package/assets/globalHeader.css +69 -0
- package/assets/gridPage.css +93 -0
- package/assets/index.css +1479 -0
- package/assets/login.css +61 -0
- package/assets/loginLayout.css +115 -0
- package/assets/modal.css +0 -0
- package/assets/result.css +45 -0
- package/assets/userLayout.css +70 -0
- package/lib/Easy3wA/index.js +100 -0
- package/lib/Easy3wAESDecrypt/index.js +21 -0
- package/lib/Easy3wAESEncrypt/index.js +20 -0
- package/lib/Easy3wBlankLayout/index.js +114 -0
- package/lib/Easy3wButton/index.js +267 -0
- package/lib/Easy3wButtonOne/index.js +148 -0
- package/lib/Easy3wCaHandler/index.js +312 -0
- package/lib/Easy3wCaptcha/index.js +145 -0
- package/lib/Easy3wCard/index.js +66 -0
- package/lib/Easy3wDictCode/index.js +50 -0
- package/lib/Easy3wDownLoad/Easy3wFileView.js +82 -0
- package/lib/Easy3wDownLoad/Easy3wImgView.js +73 -0
- package/lib/Easy3wDownLoad/Easy3wPDFView.js +139 -0
- package/lib/Easy3wDownLoad/Easy3wRCView.js +65 -0
- package/lib/Easy3wDownLoad/index.js +315 -0
- package/lib/Easy3wException/403.js +21 -0
- package/lib/Easy3wException/404.js +21 -0
- package/lib/Easy3wException/500.js +21 -0
- package/lib/Easy3wException/index.js +94 -0
- package/lib/Easy3wException/typeConfig.js +23 -0
- package/lib/Easy3wFlow/index.js +546 -0
- package/lib/Easy3wFormPage/index.js +1650 -0
- package/lib/Easy3wGetCookie/index.js +14 -0
- package/lib/Easy3wGlobalFooter/index.js +73 -0
- package/lib/Easy3wGlobalHeader/index.js +148 -0
- package/lib/Easy3wGridCheckBox/index.js +69 -0
- package/lib/Easy3wGridDatePicker/index.js +90 -0
- package/lib/Easy3wGridDateTimePicker/index.js +122 -0
- package/lib/Easy3wGridInput/index.js +85 -0
- package/lib/Easy3wGridInputNumber/index.js +83 -0
- package/lib/Easy3wGridInputNumberFormat/index.js +93 -0
- package/lib/Easy3wGridPage/index.js +593 -0
- package/lib/Easy3wGridRadio/index.js +70 -0
- package/lib/Easy3wGridSelect/index.js +95 -0
- package/lib/Easy3wGridTextArea/index.js +84 -0
- package/lib/Easy3wInput/index.js +48 -0
- package/lib/Easy3wLogin/index.js +386 -0
- package/lib/Easy3wLoginLayout/index.js +628 -0
- package/lib/Easy3wModal/index.js +144 -0
- package/lib/Easy3wPositionButton/index.js +99 -0
- package/lib/Easy3wQryGrid/index.js +670 -0
- package/lib/Easy3wResult/index.js +77 -0
- package/lib/Easy3wSetCookie/index.js +13 -0
- package/lib/Easy3wSpin/index.js +69 -0
- package/lib/Easy3wTabs/index.js +89 -0
- package/lib/Easy3wTagSelect/index.js +238 -0
- package/lib/Easy3wTagSelect/index.less +120 -0
- package/lib/Easy3wUpload/index.js +507 -0
- package/lib/Easy3wUploadB/index copy 2.js +1011 -0
- package/lib/Easy3wUploadB/index copy.js +1020 -0
- package/lib/Easy3wUploadB/index.js +1039 -0
- package/lib/Easy3wUploadM/index.js +506 -0
- package/lib/Easy3wUserLayout/index.js +138 -0
- package/lib/index.js +383 -0
- package/package.json +1 -1
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
|
|
5
|
+
var _extends2 = require('babel-runtime/helpers/extends');
|
|
6
|
+
|
|
7
|
+
var _extends3 = _interopRequireDefault(_extends2);
|
|
8
|
+
|
|
9
|
+
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
|
|
10
|
+
|
|
11
|
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
|
12
|
+
|
|
13
|
+
var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');
|
|
14
|
+
|
|
15
|
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
|
16
|
+
|
|
17
|
+
var _inherits2 = require('babel-runtime/helpers/inherits');
|
|
18
|
+
|
|
19
|
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
|
20
|
+
|
|
21
|
+
var _react = require('react');
|
|
22
|
+
|
|
23
|
+
var _react2 = _interopRequireDefault(_react);
|
|
24
|
+
|
|
25
|
+
var _button = require('antd/lib/button');
|
|
26
|
+
|
|
27
|
+
var _button2 = _interopRequireDefault(_button);
|
|
28
|
+
|
|
29
|
+
require('antd/lib/button/style');
|
|
30
|
+
|
|
31
|
+
var _upload = require('antd/lib/upload');
|
|
32
|
+
|
|
33
|
+
var _upload2 = _interopRequireDefault(_upload);
|
|
34
|
+
|
|
35
|
+
require('antd/lib/upload/style');
|
|
36
|
+
|
|
37
|
+
var _popconfirm = require('antd/lib/popconfirm');
|
|
38
|
+
|
|
39
|
+
var _popconfirm2 = _interopRequireDefault(_popconfirm);
|
|
40
|
+
|
|
41
|
+
require('antd/lib/popconfirm/style');
|
|
42
|
+
|
|
43
|
+
var _card = require('antd/lib/card');
|
|
44
|
+
|
|
45
|
+
var _card2 = _interopRequireDefault(_card);
|
|
46
|
+
|
|
47
|
+
require('antd/lib/card/style');
|
|
48
|
+
|
|
49
|
+
var _menu = require('antd/lib/menu');
|
|
50
|
+
|
|
51
|
+
var _menu2 = _interopRequireDefault(_menu);
|
|
52
|
+
|
|
53
|
+
require('antd/lib/menu/style');
|
|
54
|
+
|
|
55
|
+
var _dropdown = require('antd/lib/dropdown');
|
|
56
|
+
|
|
57
|
+
var _dropdown2 = _interopRequireDefault(_dropdown);
|
|
58
|
+
|
|
59
|
+
require('antd/lib/dropdown/style');
|
|
60
|
+
|
|
61
|
+
var _icon = require('antd/lib/icon');
|
|
62
|
+
|
|
63
|
+
var _icon2 = _interopRequireDefault(_icon);
|
|
64
|
+
|
|
65
|
+
require('antd/lib/icon/style');
|
|
66
|
+
|
|
67
|
+
var _notification = require('antd/lib/notification');
|
|
68
|
+
|
|
69
|
+
var _notification2 = _interopRequireDefault(_notification);
|
|
70
|
+
|
|
71
|
+
require('antd/lib/notification/style');
|
|
72
|
+
|
|
73
|
+
var _dva = require('dva');
|
|
74
|
+
|
|
75
|
+
var _classnames = require('classnames');
|
|
76
|
+
|
|
77
|
+
var _classnames2 = _interopRequireDefault(_classnames);
|
|
78
|
+
|
|
79
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
|
80
|
+
|
|
81
|
+
var Easy3wButton = function (_Component) {
|
|
82
|
+
(0, _inherits3['default'])(Easy3wButton, _Component);
|
|
83
|
+
|
|
84
|
+
function Easy3wButton() {
|
|
85
|
+
var _temp, _this, _ret;
|
|
86
|
+
|
|
87
|
+
(0, _classCallCheck3['default'])(this, Easy3wButton);
|
|
88
|
+
|
|
89
|
+
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
90
|
+
args[_key] = arguments[_key];
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onClickFunc = function (e, func) {
|
|
94
|
+
var globalLoading = _this.props.loading.global;
|
|
95
|
+
if (globalLoading) {
|
|
96
|
+
_notification2['default'].warning({
|
|
97
|
+
message: '温馨提示',
|
|
98
|
+
description: '正在后台处理,请稍后!',
|
|
99
|
+
duration: 3
|
|
100
|
+
});
|
|
101
|
+
} else {
|
|
102
|
+
func(e);
|
|
103
|
+
}
|
|
104
|
+
}, _this.getOneBtnObj = function (obj, index) {
|
|
105
|
+
var btnType = obj.btnType;
|
|
106
|
+
|
|
107
|
+
var typeProps = {};
|
|
108
|
+
if (btnType) {
|
|
109
|
+
// 传入btnType
|
|
110
|
+
if (btnType === 'secondary') {
|
|
111
|
+
typeProps = {};
|
|
112
|
+
} else {
|
|
113
|
+
typeProps = { type: btnType };
|
|
114
|
+
}
|
|
115
|
+
} else {
|
|
116
|
+
typeProps = { type: 'primary' };
|
|
117
|
+
}
|
|
118
|
+
return _react2['default'].createElement(
|
|
119
|
+
_button2['default'],
|
|
120
|
+
(0, _extends3['default'])({
|
|
121
|
+
onClick: function onClick(e) {
|
|
122
|
+
return _this.onClickFunc(e, obj.func);
|
|
123
|
+
},
|
|
124
|
+
loading: obj.loading
|
|
125
|
+
}, typeProps, {
|
|
126
|
+
className: (0, _classnames2['default'])(['e3wFootBtn']),
|
|
127
|
+
key: index
|
|
128
|
+
}),
|
|
129
|
+
obj.cName
|
|
130
|
+
);
|
|
131
|
+
}, _this.getOneBtnTypeObj = function (obj, index) {
|
|
132
|
+
var props = obj.props,
|
|
133
|
+
btnType = obj.btnType;
|
|
134
|
+
|
|
135
|
+
var typeProps = {};
|
|
136
|
+
if (btnType) {
|
|
137
|
+
// 传入btnType
|
|
138
|
+
if (btnType === 'secondary') {
|
|
139
|
+
typeProps = {};
|
|
140
|
+
} else {
|
|
141
|
+
typeProps = { type: btnType };
|
|
142
|
+
}
|
|
143
|
+
} else {
|
|
144
|
+
typeProps = { type: 'primary' };
|
|
145
|
+
}
|
|
146
|
+
return _react2['default'].createElement(
|
|
147
|
+
_upload2['default'],
|
|
148
|
+
props,
|
|
149
|
+
_react2['default'].createElement(
|
|
150
|
+
_button2['default'],
|
|
151
|
+
(0, _extends3['default'])({
|
|
152
|
+
onClick: function onClick(e) {
|
|
153
|
+
return _this.onClickFunc(e, obj.func);
|
|
154
|
+
},
|
|
155
|
+
loading: obj.loading
|
|
156
|
+
}, typeProps, {
|
|
157
|
+
className: (0, _classnames2['default'])(['e3wFootBtn']),
|
|
158
|
+
key: index
|
|
159
|
+
}),
|
|
160
|
+
obj.cName
|
|
161
|
+
)
|
|
162
|
+
);
|
|
163
|
+
}, _this.getOneBtnPopconfirmObj = function (obj, index) {
|
|
164
|
+
var func = obj.func,
|
|
165
|
+
cName = obj.cName,
|
|
166
|
+
confirmContent = obj.confirmContent,
|
|
167
|
+
btnType = obj.btnType;
|
|
168
|
+
|
|
169
|
+
var typeProps = {};
|
|
170
|
+
if (btnType) {
|
|
171
|
+
// 传入btnType
|
|
172
|
+
if (btnType === 'secondary') {
|
|
173
|
+
typeProps = {};
|
|
174
|
+
} else {
|
|
175
|
+
typeProps = { type: btnType };
|
|
176
|
+
}
|
|
177
|
+
} else {
|
|
178
|
+
typeProps = { type: 'primary' };
|
|
179
|
+
}
|
|
180
|
+
return _react2['default'].createElement(
|
|
181
|
+
_popconfirm2['default'],
|
|
182
|
+
{ title: confirmContent, onConfirm: function onConfirm(e) {
|
|
183
|
+
return _this.onClickFunc(e, func);
|
|
184
|
+
}, key: index },
|
|
185
|
+
_react2['default'].createElement(
|
|
186
|
+
_button2['default'],
|
|
187
|
+
(0, _extends3['default'])({}, typeProps, { className: (0, _classnames2['default'])(['btn', 'e3wFootBtn']) }),
|
|
188
|
+
cName
|
|
189
|
+
)
|
|
190
|
+
);
|
|
191
|
+
}, _this.getDropdownArrObj = function (obj) {
|
|
192
|
+
var cName = obj.cName,
|
|
193
|
+
dropdownArr = obj.dropdownArr,
|
|
194
|
+
_obj$dropdownProps = obj.dropdownProps,
|
|
195
|
+
dropdownProps = _obj$dropdownProps === undefined ? {} : _obj$dropdownProps;
|
|
196
|
+
|
|
197
|
+
var menuArr = dropdownArr.map(function (dropdown) {
|
|
198
|
+
var func = dropdown.func;
|
|
199
|
+
|
|
200
|
+
return _react2['default'].createElement(
|
|
201
|
+
_menu2['default'].Item,
|
|
202
|
+
{ key: cName, onClick: function onClick(e) {
|
|
203
|
+
return _this.onClickFunc(e, func);
|
|
204
|
+
} },
|
|
205
|
+
dropdown.cName
|
|
206
|
+
);
|
|
207
|
+
});
|
|
208
|
+
var menuOverlay = _react2['default'].createElement(
|
|
209
|
+
_menu2['default'],
|
|
210
|
+
null,
|
|
211
|
+
menuArr
|
|
212
|
+
);
|
|
213
|
+
return _react2['default'].createElement(
|
|
214
|
+
_dropdown2['default'],
|
|
215
|
+
(0, _extends3['default'])({ overlay: menuOverlay }, dropdownProps),
|
|
216
|
+
_react2['default'].createElement(
|
|
217
|
+
_button2['default'],
|
|
218
|
+
null,
|
|
219
|
+
cName,
|
|
220
|
+
' ',
|
|
221
|
+
_react2['default'].createElement(_icon2['default'], { type: 'down' })
|
|
222
|
+
)
|
|
223
|
+
);
|
|
224
|
+
}, _this.getBtnObj = function () {
|
|
225
|
+
var btnArr = _this.props.btnArr;
|
|
226
|
+
|
|
227
|
+
var allBtn = btnArr.map(function (btn, index) {
|
|
228
|
+
var confirmContent = btn.confirmContent,
|
|
229
|
+
type = btn.type,
|
|
230
|
+
dropdownArr = btn.dropdownArr;
|
|
231
|
+
|
|
232
|
+
if (type) {
|
|
233
|
+
return _this.getOneBtnTypeObj(btn, index);
|
|
234
|
+
} else if (dropdownArr) {
|
|
235
|
+
return _this.getDropdownArrObj(btn, index);
|
|
236
|
+
} else if (confirmContent) {
|
|
237
|
+
return _this.getOneBtnPopconfirmObj(btn, index);
|
|
238
|
+
} else {
|
|
239
|
+
return _this.getOneBtnObj(btn, index);
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
return allBtn;
|
|
243
|
+
}, _temp), (0, _possibleConstructorReturn3['default'])(_this, _ret);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
Easy3wButton.prototype.render = function render() {
|
|
247
|
+
var btnObj = this.getBtnObj();
|
|
248
|
+
return _react2['default'].createElement(
|
|
249
|
+
_card2['default'],
|
|
250
|
+
{ bordered: false },
|
|
251
|
+
_react2['default'].createElement(
|
|
252
|
+
'div',
|
|
253
|
+
{ style: { textAlign: 'center' } },
|
|
254
|
+
btnObj
|
|
255
|
+
)
|
|
256
|
+
);
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
return Easy3wButton;
|
|
260
|
+
}(_react.Component);
|
|
261
|
+
|
|
262
|
+
exports['default'] = (0, _dva.connect)(function (state) {
|
|
263
|
+
return {
|
|
264
|
+
loading: state.loading
|
|
265
|
+
};
|
|
266
|
+
})(Easy3wButton);
|
|
267
|
+
module.exports = exports['default'];
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
|
|
5
|
+
var _extends2 = require('babel-runtime/helpers/extends');
|
|
6
|
+
|
|
7
|
+
var _extends3 = _interopRequireDefault(_extends2);
|
|
8
|
+
|
|
9
|
+
var _notification2 = require('antd/lib/notification');
|
|
10
|
+
|
|
11
|
+
var _notification3 = _interopRequireDefault(_notification2);
|
|
12
|
+
|
|
13
|
+
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
|
|
14
|
+
|
|
15
|
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
|
16
|
+
|
|
17
|
+
var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');
|
|
18
|
+
|
|
19
|
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
|
20
|
+
|
|
21
|
+
var _inherits2 = require('babel-runtime/helpers/inherits');
|
|
22
|
+
|
|
23
|
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
|
24
|
+
|
|
25
|
+
require('antd/lib/notification/style');
|
|
26
|
+
|
|
27
|
+
var _react = require('react');
|
|
28
|
+
|
|
29
|
+
var _react2 = _interopRequireDefault(_react);
|
|
30
|
+
|
|
31
|
+
var _antd = require('antd');
|
|
32
|
+
|
|
33
|
+
var _button = require('antd/lib/button');
|
|
34
|
+
|
|
35
|
+
var _button2 = _interopRequireDefault(_button);
|
|
36
|
+
|
|
37
|
+
require('antd/lib/upload/style');
|
|
38
|
+
|
|
39
|
+
var _dva = require('dva');
|
|
40
|
+
|
|
41
|
+
var _popconfirm = require('antd/lib/popconfirm');
|
|
42
|
+
|
|
43
|
+
var _popconfirm2 = _interopRequireDefault(_popconfirm);
|
|
44
|
+
|
|
45
|
+
require('antd/lib/popconfirm/style');
|
|
46
|
+
|
|
47
|
+
var _classnames = require('classnames');
|
|
48
|
+
|
|
49
|
+
var _classnames2 = _interopRequireDefault(_classnames);
|
|
50
|
+
|
|
51
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
|
52
|
+
|
|
53
|
+
var Easy3wButtonOne = function (_Component) {
|
|
54
|
+
(0, _inherits3['default'])(Easy3wButtonOne, _Component);
|
|
55
|
+
|
|
56
|
+
function Easy3wButtonOne() {
|
|
57
|
+
var _temp, _this, _ret;
|
|
58
|
+
|
|
59
|
+
(0, _classCallCheck3['default'])(this, Easy3wButtonOne);
|
|
60
|
+
|
|
61
|
+
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
62
|
+
args[_key] = arguments[_key];
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onClickFunc = function (e, func) {
|
|
66
|
+
var globalLoading = _this.props.loadingFlag.global;
|
|
67
|
+
if (globalLoading) {
|
|
68
|
+
_notification3['default'].warning({
|
|
69
|
+
message: '温馨提示',
|
|
70
|
+
description: '正在后台处理,请稍后!',
|
|
71
|
+
duration: 3
|
|
72
|
+
});
|
|
73
|
+
} else {
|
|
74
|
+
func(e);
|
|
75
|
+
}
|
|
76
|
+
}, _this.getOneBtnObj = function () {
|
|
77
|
+
var _this$props = _this.props,
|
|
78
|
+
func = _this$props.func,
|
|
79
|
+
loading = _this$props.loading,
|
|
80
|
+
cName = _this$props.cName,
|
|
81
|
+
typeProp = _this$props.typeProp,
|
|
82
|
+
_onClick = _this$props.onClick,
|
|
83
|
+
children = _this$props.children;
|
|
84
|
+
|
|
85
|
+
var typeProps = {};
|
|
86
|
+
if (typeProp) {
|
|
87
|
+
typeProps = { type: typeProp };
|
|
88
|
+
}
|
|
89
|
+
return _react2['default'].createElement(
|
|
90
|
+
_button2['default'],
|
|
91
|
+
(0, _extends3['default'])({
|
|
92
|
+
onClick: function onClick(e) {
|
|
93
|
+
return _this.onClickFunc(e, func || _onClick);
|
|
94
|
+
},
|
|
95
|
+
loading: loading,
|
|
96
|
+
className: (0, _classnames2['default'])(['e3wFootBtn'])
|
|
97
|
+
}, typeProps),
|
|
98
|
+
cName || children
|
|
99
|
+
);
|
|
100
|
+
}, _this.getOneBtnPopconfirmObj = function () {
|
|
101
|
+
var _this$props2 = _this.props,
|
|
102
|
+
func = _this$props2.func,
|
|
103
|
+
cName = _this$props2.cName,
|
|
104
|
+
confirmContent = _this$props2.confirmContent,
|
|
105
|
+
typeProp = _this$props2.typeProp,
|
|
106
|
+
onClick = _this$props2.onClick,
|
|
107
|
+
children = _this$props2.children;
|
|
108
|
+
|
|
109
|
+
var typeProps = {};
|
|
110
|
+
if (typeProp) {
|
|
111
|
+
typeProps = { type: typeProp };
|
|
112
|
+
}
|
|
113
|
+
return _react2['default'].createElement(
|
|
114
|
+
_popconfirm2['default'],
|
|
115
|
+
{ title: confirmContent, onConfirm: function onConfirm(e) {
|
|
116
|
+
return _this.onClickFunc(e, func || onClick);
|
|
117
|
+
} },
|
|
118
|
+
_react2['default'].createElement(
|
|
119
|
+
_button2['default'],
|
|
120
|
+
(0, _extends3['default'])({}, typeProps, { className: (0, _classnames2['default'])(['btn', 'e3wFootBtn']) }),
|
|
121
|
+
cName || children
|
|
122
|
+
)
|
|
123
|
+
);
|
|
124
|
+
}, _this.getBtnObj = function () {
|
|
125
|
+
var confirmContent = _this.props.confirmContent;
|
|
126
|
+
|
|
127
|
+
if (confirmContent) {
|
|
128
|
+
return _this.getOneBtnPopconfirmObj();
|
|
129
|
+
} else {
|
|
130
|
+
return _this.getOneBtnObj();
|
|
131
|
+
}
|
|
132
|
+
}, _temp), (0, _possibleConstructorReturn3['default'])(_this, _ret);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
Easy3wButtonOne.prototype.render = function render() {
|
|
136
|
+
var btnObj = this.getBtnObj();
|
|
137
|
+
return btnObj;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
return Easy3wButtonOne;
|
|
141
|
+
}(_react.Component);
|
|
142
|
+
|
|
143
|
+
exports['default'] = (0, _dva.connect)(function (state) {
|
|
144
|
+
return {
|
|
145
|
+
loadingFlag: state.loading
|
|
146
|
+
};
|
|
147
|
+
})(Easy3wButtonOne);
|
|
148
|
+
module.exports = exports['default'];
|