Fixed #4381 - MenuPassThrough: The PT option menu does not work

pull/4142/head
mertsincan 2023-09-04 13:25:33 +01:00
parent 75b88de8ff
commit 334f986e15
1 changed files with 3 additions and 1 deletions

View File

@ -492,8 +492,10 @@ export default {
const getValue = (value) => {
const computedValue = callback ? callback(value) : value;
const _key = ObjectUtils.toFlatCase(key);
const _cKey = ObjectUtils.toFlatCase(this.$name);
return computedValue?.[ObjectUtils.toFlatCase(key)] ?? computedValue;
return (_key !== _cKey ? computedValue?.[_key] : undefined) ?? computedValue;
};
return ObjectUtils.isNotEmpty(_usept)