ronds-metadata 1.2.67 → 1.2.68
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
5
5
|
/*
|
6
6
|
* @Author: wangxian
|
7
7
|
* @Date: 2021-09-18 14:15:04
|
8
|
-
* @LastEditTime: 2023-06-
|
8
|
+
* @LastEditTime: 2023-06-14 09:27:20
|
9
9
|
*/
|
10
10
|
import React from 'react';
|
11
11
|
import { deepClone } from '../../../utils';
|
@@ -20,6 +20,7 @@ export function withAddOnAfter(WrappedComponent) {
|
|
20
20
|
isShowTypeInfo = props.isShowTypeInfo,
|
21
21
|
fields = props.fields,
|
22
22
|
colSpan = props.colSpan,
|
23
|
+
disabled = props.disabled,
|
23
24
|
field = props.field,
|
24
25
|
id = props.id,
|
25
26
|
_props$name = props.name,
|
@@ -100,7 +101,7 @@ export function withAddOnAfter(WrappedComponent) {
|
|
100
101
|
labelSpan: labelSpan,
|
101
102
|
isObj: isObj,
|
102
103
|
notRequire: depend === null || depend === void 0 ? void 0 : depend.notRequire,
|
103
|
-
disabled: (depend === null || depend === void 0 ? void 0 : depend.disabled) ||
|
104
|
+
disabled: (depend === null || depend === void 0 ? void 0 : depend.disabled) || disabled
|
104
105
|
})), isShowTypeInfo && !field && type !== 'number' && type !== 'bool' && /*#__PURE__*/React.createElement("div", {
|
105
106
|
className: "with-add-on-after-extra"
|
106
107
|
}, help !== null && help !== void 0 ? help : type))), fields && ((_fields$5 = fields[0]) === null || _fields$5 === void 0 ? void 0 : (_fields$5$value = _fields$5.value) === null || _fields$5$value === void 0 ? void 0 : (_fields$5$value$commo = _fields$5$value.common) === null || _fields$5$value$commo === void 0 ? void 0 : _fields$5$value$commo.br) && /*#__PURE__*/React.createElement(_Col, {
|