venus-design 1.0.78 → 1.0.79
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 +6 -0
- package/package.json +1 -1
package/dist/VenusForm/index.js
CHANGED
|
@@ -229,6 +229,9 @@ var VenusForm = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
229
229
|
if (fieldIds.includes(node.fieldId)) {
|
|
230
230
|
//@ts-ignore
|
|
231
231
|
node.nonEditableScene = disabled ? 'EDIT' : null;
|
|
232
|
+
} else {
|
|
233
|
+
//@ts-ignore
|
|
234
|
+
node.nonEditableScene = null;
|
|
232
235
|
}
|
|
233
236
|
});
|
|
234
237
|
return clone;
|
|
@@ -242,6 +245,9 @@ var VenusForm = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
242
245
|
if (!fieldIds.includes(node.fieldId)) {
|
|
243
246
|
//@ts-ignore
|
|
244
247
|
node.nonEditableScene = disabled ? 'EDIT' : null;
|
|
248
|
+
} else {
|
|
249
|
+
//@ts-ignore
|
|
250
|
+
node.nonEditableScene = null;
|
|
245
251
|
}
|
|
246
252
|
});
|
|
247
253
|
return clone;
|