forked from github/dataease
refactor(仪表板): 优化仪表板外部链接跳转参数替换逻辑,防止出现未替换情况
This commit is contained in:
parent
e413bf5707
commit
0de2cadbff
@ -523,9 +523,9 @@ export default {
|
||||
on.forEach(itm => {
|
||||
const ele = itm.slice(1, -1)
|
||||
if (name2Auto) {
|
||||
name2Auto.push(nameIdMap[ele])
|
||||
name2Auto.push(nameIdMap[itm])
|
||||
}
|
||||
name2Id = name2Id.replace(ele, nameIdMap[ele])
|
||||
name2Id = name2Id.replace(itm, '[' + nameIdMap[ele] + ']')
|
||||
})
|
||||
}
|
||||
return name2Id
|
||||
|
Loading…
Reference in New Issue
Block a user