@bchr/bchr-front-lib 0.3.144 → 0.3.145
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.
|
@@ -511,7 +511,7 @@ var FormForModify = /*#__PURE__*/function (_React$Component) {
|
|
|
511
511
|
|
|
512
512
|
case _consts.UI_RENDER_TYPE.TREE_SELECT:
|
|
513
513
|
if (b_multiple) {
|
|
514
|
-
initialValue =
|
|
514
|
+
initialValue = data[code] || [];
|
|
515
515
|
|
|
516
516
|
if (_typeof(initialValue) !== "object") {
|
|
517
517
|
initialValue = initialValue ? JSON.parse(initialValue) : [];
|
package/package.json
CHANGED
|
@@ -566,7 +566,7 @@ class FormForModify extends React.Component{
|
|
|
566
566
|
break;
|
|
567
567
|
case UI_RENDER_TYPE.TREE_SELECT:
|
|
568
568
|
if (b_multiple) {
|
|
569
|
-
initialValue =
|
|
569
|
+
initialValue = data[code] || [];
|
|
570
570
|
if (typeof initialValue !== "object") {
|
|
571
571
|
initialValue = initialValue ? JSON.parse(initialValue) : [];
|
|
572
572
|
}
|