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