forked from github/dataease
Merge pull request #4263 from dataease/pr@dev@refactor_map-style
style: 调整地图跳转弹框样式
This commit is contained in:
commit
6e99a24ba0
@ -938,7 +938,7 @@ export default {
|
|||||||
// 如果有名称name 获取和name匹配的dimension 否则倒序取最后一个能匹配的
|
// 如果有名称name 获取和name匹配的dimension 否则倒序取最后一个能匹配的
|
||||||
if (param.name) {
|
if (param.name) {
|
||||||
param.dimensionList.forEach(dimensionItem => {
|
param.dimensionList.forEach(dimensionItem => {
|
||||||
if (dimensionItem.id === param.name) {
|
if (dimensionItem.id === param.name || dimensionItem.value === param.name) {
|
||||||
dimension = dimensionItem
|
dimension = dimensionItem
|
||||||
sourceInfo = param.viewId + '#' + dimension.id
|
sourceInfo = param.viewId + '#' + dimension.id
|
||||||
jumpInfo = this.nowPanelJumpInfo[sourceInfo]
|
jumpInfo = this.nowPanelJumpInfo[sourceInfo]
|
||||||
|
Loading…
Reference in New Issue
Block a user