@zat-design/sisyphus-react 3.4.9-beta.2 → 3.4.9
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/es/ProEnum/index.js +2 -2
- package/lib/ProEnum/index.js +2 -2
- package/package.json +1 -1
package/es/ProEnum/index.js
CHANGED
|
@@ -41,7 +41,8 @@ var ProEnum = function ProEnum(props) {
|
|
|
41
41
|
enumProps = _objectWithoutProperties(props, _excluded);
|
|
42
42
|
var _ref = otherProps || {},
|
|
43
43
|
isView = _ref.isView,
|
|
44
|
-
viewEmpty = _ref.viewEmpty
|
|
44
|
+
viewEmpty = _ref.viewEmpty,
|
|
45
|
+
disabled = _ref.disabled;
|
|
45
46
|
var _ref2 = useProConfig('ProEnum') || {},
|
|
46
47
|
fieldNames = _ref2.fieldNames,
|
|
47
48
|
_ref2$clear = _ref2.clear,
|
|
@@ -164,7 +165,6 @@ var ProEnum = function ProEnum(props) {
|
|
|
164
165
|
switch (type) {
|
|
165
166
|
case 'ProSelect':
|
|
166
167
|
return _jsx(ProSelect, _objectSpread(_objectSpread({}, enumProps), {}, {
|
|
167
|
-
otherProps: otherProps,
|
|
168
168
|
dataSource: list,
|
|
169
169
|
fieldNames: {
|
|
170
170
|
label: label,
|
package/lib/ProEnum/index.js
CHANGED
|
@@ -42,7 +42,8 @@ var ProEnum = function ProEnum(props) {
|
|
|
42
42
|
enumProps = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
43
43
|
var _ref = otherProps || {},
|
|
44
44
|
isView = _ref.isView,
|
|
45
|
-
viewEmpty = _ref.viewEmpty
|
|
45
|
+
viewEmpty = _ref.viewEmpty,
|
|
46
|
+
disabled = _ref.disabled;
|
|
46
47
|
var _ref2 = (0, _ProConfigProvider.useProConfig)('ProEnum') || {},
|
|
47
48
|
fieldNames = _ref2.fieldNames,
|
|
48
49
|
_ref2$clear = _ref2.clear,
|
|
@@ -165,7 +166,6 @@ var ProEnum = function ProEnum(props) {
|
|
|
165
166
|
switch (type) {
|
|
166
167
|
case 'ProSelect':
|
|
167
168
|
return (0, _jsxRuntime.jsx)(_ProSelect.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, enumProps), {}, {
|
|
168
|
-
otherProps: otherProps,
|
|
169
169
|
dataSource: list,
|
|
170
170
|
fieldNames: {
|
|
171
171
|
label: label,
|