@zat-design/sisyphus-react 3.9.1-beta.11 → 3.9.1-beta.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.
@@ -745,7 +745,8 @@ var ProModalSelect = function ProModalSelect(props, ref) {
745
745
  }, 1000),
746
746
  style: {
747
747
  width: isView || disabled ? '100%' : 'calc(100% - 30px)'
748
- }
748
+ },
749
+ className: "pro-modal-select-item"
749
750
  }, omit(restProps, ['otherProps']))) : _jsx(_Input, _objectSpread({
750
751
  value: viewText,
751
752
  onChange: handleChangeValue,
@@ -287,6 +287,10 @@ export var ProSelect = function ProSelect(props, ref) {
287
287
  mode: selectProps.mode
288
288
  });
289
289
  }
290
+ // modalselect样式特殊处理
291
+ if ((selectProps === null || selectProps === void 0 ? void 0 : selectProps.className) === 'pro-modal-select-item') {
292
+ selectProps === null || selectProps === void 0 ? true : delete selectProps.style;
293
+ }
290
294
  return _jsx("div", {
291
295
  style: props.style,
292
296
  className: "pro-select",
@@ -740,7 +740,8 @@ var ProModalSelect = function ProModalSelect(props, ref) {
740
740
  }, 1000),
741
741
  style: {
742
742
  width: isView || disabled ? '100%' : 'calc(100% - 30px)'
743
- }
743
+ },
744
+ className: "pro-modal-select-item"
744
745
  }, (0, _lodash.omit)(restProps, ['otherProps']))) : (0, _jsxRuntime.jsx)(_antd.Input, (0, _objectSpread3.default)({
745
746
  value: viewText,
746
747
  onChange: handleChangeValue,
@@ -288,6 +288,10 @@ var ProSelect = exports.ProSelect = function ProSelect(props, ref) {
288
288
  mode: selectProps.mode
289
289
  });
290
290
  }
291
+ // modalselect样式特殊处理
292
+ if ((selectProps === null || selectProps === void 0 ? void 0 : selectProps.className) === 'pro-modal-select-item') {
293
+ selectProps === null || selectProps === void 0 ? true : delete selectProps.style;
294
+ }
291
295
  return (0, _jsxRuntime.jsx)("div", {
292
296
  style: props.style,
293
297
  className: "pro-select",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.9.1-beta.11",
3
+ "version": "3.9.1-beta.12",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",