bm-admin-ui 1.0.76-alpha → 1.0.77-alpha
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.
|
@@ -4112,7 +4112,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4112
4112
|
}
|
|
4113
4113
|
function getValue(field, oldRule) {
|
|
4114
4114
|
return field.split(".").reduce((pre, cur) => {
|
|
4115
|
-
return pre[cur];
|
|
4115
|
+
return pre?.[cur];
|
|
4116
4116
|
}, oldRule);
|
|
4117
4117
|
}
|
|
4118
4118
|
function resetFieldRatio(rule, parentRuleType) {
|
|
@@ -4122,7 +4122,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4122
4122
|
}
|
|
4123
4123
|
function getValue(field, oldRule) {
|
|
4124
4124
|
return field.split(".").reduce((pre, cur) => {
|
|
4125
|
-
return pre[cur];
|
|
4125
|
+
return pre?.[cur];
|
|
4126
4126
|
}, oldRule);
|
|
4127
4127
|
}
|
|
4128
4128
|
function resetFieldRatio(rule, parentRuleType) {
|