Update indexMim.vue

This commit is contained in:
TimSpan 2024-08-16 10:10:12 +08:00
parent 9f7dbf2bcf
commit 866d498406
1 changed files with 2 additions and 0 deletions

View File

@ -865,6 +865,8 @@ const initMapdt = (data: any, podat: any, name: any) => {
window.addEventListener('resize', function () { window.addEventListener('resize', function () {
myChart.resize() myChart.resize()
}) })
//
myChart.on('click', (x) => { myChart.on('click', (x) => {
// let tree4data = flattenTree(JSON.parse(localStorage.getItem('tree4data'))); // let tree4data = flattenTree(JSON.parse(localStorage.getItem('tree4data')));
tree4data.forEach((item) => { tree4data.forEach((item) => {