venus-design 1.0.52 → 1.0.53
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/VenusForm/index.js
CHANGED
|
@@ -237,7 +237,7 @@ var VenusForm = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
237
237
|
});
|
|
238
238
|
},
|
|
239
239
|
/* 设置必填/不必填 */
|
|
240
|
-
|
|
240
|
+
setFormRequiredFlagFields: function setFormRequiredFlagFields(fieldNames, requiredFlag) {
|
|
241
241
|
setFormData(function (prev) {
|
|
242
242
|
var clone = deepClone(prev);
|
|
243
243
|
dfs(clone, function (node) {
|
|
@@ -19,6 +19,7 @@ interface VenusWorkDetailType {
|
|
|
19
19
|
procInstId?: string;
|
|
20
20
|
height?: any;
|
|
21
21
|
otherProps?: any;
|
|
22
|
+
style?: any;
|
|
22
23
|
onMount?: (inst: any) => void;
|
|
23
24
|
}
|
|
24
25
|
declare const VenusWorkDetail: React.ForwardRefExoticComponent<VenusWorkDetailType & React.RefAttributes<VenusWorkDetailRef>>;
|
|
@@ -256,10 +256,9 @@ var VenusWorkDetail = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
256
256
|
hashPriority: "high",
|
|
257
257
|
transformers: [legacyLogicalPropertiesTransformer]
|
|
258
258
|
}, /*#__PURE__*/React.createElement("div", {
|
|
259
|
-
style: {
|
|
260
|
-
height: props.height || "60%"
|
|
261
|
-
|
|
262
|
-
}
|
|
259
|
+
style: _objectSpread({
|
|
260
|
+
height: props.height || "60%"
|
|
261
|
+
}, props.style)
|
|
263
262
|
}, isNotNullVenus(props.componentUrl) && props.actionId != "adjust" ?
|
|
264
263
|
/*#__PURE__*/
|
|
265
264
|
//@ts-ignore
|