NEZ-1090 fix:Line Chart 按钮悬停信息被遮挡

This commit is contained in:
zhangyu
2021-10-27 13:58:25 +08:00
parent 7b0cb3da35
commit 38383e5174
2 changed files with 2 additions and 2 deletions

View File

@@ -666,7 +666,7 @@ export default {
}, },
tooltip: { // 和 option.tooltip 的配置项相同 tooltip: { // 和 option.tooltip 的配置项相同
show: true, show: true,
position: 'top', position: 'bottom',
formatter: function (param) { formatter: function (param) {
return param.title // 自定义的 DOM 结构 return param.title // 自定义的 DOM 结构
}, },

View File

@@ -1005,7 +1005,7 @@ export default {
deleteMessage () {} deleteMessage () {}
}, },
destroyed () { destroyed () {
localStorage.removeItem('endpointProjectId') localStorage.removeItem('alertMessageProjectId')
} }
} }
</script> </script>