1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-26 15:50:01 +08:00

#171 bugfix show record from zoom action (#201)

This commit is contained in:
Leonel Matos 2019-12-12 18:44:04 -04:00 committed by Yamel Senih
parent c4938ee879
commit 101de06515

View File

@ -685,6 +685,19 @@ const panel = {
isEvaluateMandatory: false
})
})
.then(response => {
if (response && response.length) {
dispatch('notifyPanelChange', {
parentUuid: parentUuid,
containerUuid: containerUuid,
isAdvancedQuery: false,
newValues: response[0],
isSendToServer: false,
isSendCallout: true,
panelType: 'window'
})
}
})
.catch(error => {
console.warn('Error getting Advanced Query (notifyFieldChange):', error.message + '. Code: ', error.code)
})