提交 7490f8f0 authored 作者: taojinlong's avatar taojinlong

Merge branch 'v1.10' of github.com:dataease/dataease into v1.10

...@@ -123,10 +123,24 @@ export default { ...@@ -123,10 +123,24 @@ export default {
if (!this.curComponent && this.lastMapChart) { if (!this.curComponent && this.lastMapChart) {
return this.lastMapChart return this.lastMapChart
} }
if (this.curComponent && this.curComponent.options && this.curComponent.options.tabList && this.curComponent.options.tabList.length) {
const tabList = JSON.parse(JSON.stringify(this.curComponent.options.tabList))
tabList.forEach(tab => {
if (tab.content &&
tab.content.propValue &&
tab.content.propValue.viewId &&
tab.content.propValue.viewId === this.chart.id &&
tab.content.DetailAreaCode &&
tab.content.DetailAreaCode.length) {
DetailAreaCode = tab.content.DetailAreaCode
}
})
}
const result = { ...temp, ...{ DetailAreaCode: DetailAreaCode }} const result = { ...temp, ...{ DetailAreaCode: DetailAreaCode }}
this.setLastMapChart(result) this.setLastMapChart(result)
return result return result
} }
return null return null
} }
}, },
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title> <title>
<%= htmlWebpackPlugin.options.title %> <%= htmlWebpackPlugin.options.title %>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论