mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-13 23:20:12 +08:00
Fixed error with unnecessary call for context (#496)
This commit is contained in:
parent
8727beefdc
commit
94b034c605
@ -201,6 +201,7 @@ export function getPreference({
|
|||||||
|
|
||||||
// USER PREFERENCES
|
// USER PREFERENCES
|
||||||
// View Preferences
|
// View Preferences
|
||||||
|
if (parentUuid && containerUuid) {
|
||||||
retValue = getContext({
|
retValue = getContext({
|
||||||
parentUuid: 'P' + parentUuid,
|
parentUuid: 'P' + parentUuid,
|
||||||
containerUuid,
|
containerUuid,
|
||||||
@ -209,6 +210,7 @@ export function getPreference({
|
|||||||
if (!isEmptyValue(retValue)) {
|
if (!isEmptyValue(retValue)) {
|
||||||
return retValue
|
return retValue
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Global Preferences
|
// Global Preferences
|
||||||
retValue = getContext({
|
retValue = getContext({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user