@bit-sun/business-component 1.0.11 → 1.0.12

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
@@ -2177,6 +2177,10 @@ var QueryMutipleInput = function QueryMutipleInput(_ref) {
2177
2177
  onValueChange(value);
2178
2178
  }, [value]);
2179
2179
 
2180
+ var showModal = function showModal() {
2181
+ setIsModalVisible(true);
2182
+ };
2183
+
2180
2184
  var handleOk = function handleOk() {
2181
2185
  formaData(popvalue);
2182
2186
  setIsModalVisible(false);
@@ -2226,6 +2230,7 @@ var QueryMutipleInput = function QueryMutipleInput(_ref) {
2226
2230
  padding: '2px',
2227
2231
  height: 'auto'
2228
2232
  },
2233
+ onClick: showModal,
2229
2234
  type: "primary"
2230
2235
  }, "...")), /*#__PURE__*/React.createElement(Modal, {
2231
2236
  width: 600,
package/dist/index.js CHANGED
@@ -2187,6 +2187,10 @@ var QueryMutipleInput = function QueryMutipleInput(_ref) {
2187
2187
  onValueChange(value);
2188
2188
  }, [value]);
2189
2189
 
2190
+ var showModal = function showModal() {
2191
+ setIsModalVisible(true);
2192
+ };
2193
+
2190
2194
  var handleOk = function handleOk() {
2191
2195
  formaData(popvalue);
2192
2196
  setIsModalVisible(false);
@@ -2236,6 +2240,7 @@ var QueryMutipleInput = function QueryMutipleInput(_ref) {
2236
2240
  padding: '2px',
2237
2241
  height: 'auto'
2238
2242
  },
2243
+ onClick: showModal,
2239
2244
  type: "primary"
2240
2245
  }, "...")), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
2241
2246
  width: 600,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -2,7 +2,7 @@
2
2
  * @Description:
3
3
  * @Author: rodchen
4
4
  * @Date: 2021-12-01 10:52:08
5
- * @LastEditTime: 2021-12-29 17:42:42
5
+ * @LastEditTime: 2021-12-29 19:14:56
6
6
  * @LastEditors: rodchen
7
7
  */
8
8
  // @ts-nocheck
@@ -75,7 +75,7 @@ const QueryMutipleInput = ({ onValueChange }) => {
75
75
  style={{ width: 'calc(100% - 30px)' }}
76
76
  placeholder="请输入(查询多个值请用 ; 或 , 分割)"
77
77
  />
78
- <Button style={{width: '30px', padding: '2px', height: 'auto'}} type="primary">...</Button>
78
+ <Button style={{width: '30px', padding: '2px', height: 'auto'}} onClick={showModal} type="primary">...</Button>
79
79
  </div>
80
80
  <Modal
81
81
  width={600}