wargerm 0.2.27 → 0.2.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.
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -8848,14 +8848,14 @@ var WForm = function WForm(props, ref) {
|
|
8848
8848
|
},
|
8849
8849
|
htmlType: "submit",
|
8850
8850
|
icon: /*#__PURE__*/React.createElement(SearchOutlined, null)
|
8851
|
-
},
|
8851
|
+
}, search && search.searchText ? search.searchText : '提交'), search.hideResetBtn ? null : /*#__PURE__*/React.createElement(WButton, {
|
8852
8852
|
type: "primary",
|
8853
8853
|
style: {
|
8854
8854
|
marginRight: '20px'
|
8855
8855
|
},
|
8856
8856
|
icon: /*#__PURE__*/React.createElement(ReloadOutlined, null),
|
8857
8857
|
onClick: handleRest
|
8858
|
-
},
|
8858
|
+
}, search && search.resetText ? search.resetText : '重置')) : null)))));
|
8859
8859
|
};
|
8860
8860
|
|
8861
8861
|
var WForm$1 = /*#__PURE__*/React.forwardRef(WForm);
|
package/dist/index.js
CHANGED
@@ -8882,14 +8882,14 @@ var WForm = function WForm(props, ref) {
|
|
8882
8882
|
},
|
8883
8883
|
htmlType: "submit",
|
8884
8884
|
icon: /*#__PURE__*/React__default['default'].createElement(icons.SearchOutlined, null)
|
8885
|
-
},
|
8885
|
+
}, search && search.searchText ? search.searchText : '提交'), search.hideResetBtn ? null : /*#__PURE__*/React__default['default'].createElement(WButton, {
|
8886
8886
|
type: "primary",
|
8887
8887
|
style: {
|
8888
8888
|
marginRight: '20px'
|
8889
8889
|
},
|
8890
8890
|
icon: /*#__PURE__*/React__default['default'].createElement(icons.ReloadOutlined, null),
|
8891
8891
|
onClick: handleRest
|
8892
|
-
},
|
8892
|
+
}, search && search.resetText ? search.resetText : '重置')) : null)))));
|
8893
8893
|
};
|
8894
8894
|
|
8895
8895
|
var WForm$1 = /*#__PURE__*/React__default['default'].forwardRef(WForm);
|