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 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
- }, "\u63D0\u4EA4"), search.hideResetBtn ? null : /*#__PURE__*/React.createElement(WButton, {
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
- }, "\u91CD\u7F6E")) : null)))));
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
- }, "\u63D0\u4EA4"), search.hideResetBtn ? null : /*#__PURE__*/React__default['default'].createElement(WButton, {
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
- }, "\u91CD\u7F6E")) : null)))));
8892
+ }, search && search.resetText ? search.resetText : '重置')) : null)))));
8893
8893
  };
8894
8894
 
8895
8895
  var WForm$1 = /*#__PURE__*/React__default['default'].forwardRef(WForm);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.2.27",
4
+ "version": "0.2.28",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",