@hw-component/form 1.9.43 → 1.9.45

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.
@@ -114,6 +114,9 @@ var Index = function Index(_ref) {
114
114
  mode: mode,
115
115
  loading: loading,
116
116
  value: val,
117
+ style: {
118
+ width: "100%"
119
+ },
117
120
  onSearch: onSearch,
118
121
  onChange: change,
119
122
  dropdownRender: function dropdownRender(node) {
@@ -117,6 +117,9 @@ var Index = function Index(_ref) {
117
117
  mode: mode,
118
118
  loading: loading,
119
119
  value: val,
120
+ style: {
121
+ width: "100%"
122
+ },
120
123
  onSearch: onSearch,
121
124
  onChange: change,
122
125
  dropdownRender: function dropdownRender(node) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/form",
3
- "version": "1.9.43",
3
+ "version": "1.9.45",
4
4
  "description": "基于antd二次开发",
5
5
  "repository": {
6
6
  "type": "git",
@@ -90,6 +90,7 @@ const Index: React.FC<HSelectProps> = ({
90
90
  mode={mode}
91
91
  loading={loading}
92
92
  value={val}
93
+ style={{width:"100%"}}
93
94
  onSearch={onSearch}
94
95
  onChange={change}
95
96
  dropdownRender={(node) => {
@@ -121,7 +121,9 @@ const formData = (options) => {
121
121
  ],
122
122
  itemProps: {
123
123
  addonBefore: "前面",
124
- addonAfter: "后面",
124
+ addonAfter:<div onClick={()=>{
125
+ console.log("fff")
126
+ }}>后面</div>,
125
127
  },
126
128
  }
127
129
  ];