easy3wui 4.0.32 → 4.0.33
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/lib/Easy3wModal/index.js +3 -2
- package/package.json +1 -1
package/lib/Easy3wModal/index.js
CHANGED
|
@@ -230,9 +230,10 @@ var Easy3wModal = function (_Component) {
|
|
|
230
230
|
loadingFlag = _props.loadingFlag,
|
|
231
231
|
cancelHandler = _props.cancelHandler,
|
|
232
232
|
onOk = _props.onOk,
|
|
233
|
-
width = _props.width
|
|
233
|
+
width = _props.width,
|
|
234
|
+
footBtnArr = _props.footBtnArr;
|
|
234
235
|
|
|
235
|
-
var btnObj = this.getBtnObj();
|
|
236
|
+
var btnObj = footBtnArr && footBtnArr.length ? this.getBtnObj() : null;
|
|
236
237
|
return _react2['default'].createElement(
|
|
237
238
|
_modal2['default'],
|
|
238
239
|
(0, _extends3['default'])({
|