Explorar el Código

fix:图表加载

tangshizhe hace 2 años
padre
commit
390b92c77b
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/web/templates/pc/supsearch.html

+ 3 - 3
src/web/templates/pc/supsearch.html

@@ -2605,7 +2605,7 @@ if(sessionselect){
                     }
                   })
                   setTimeout(() => {
-                    vComponentChart('#chartTreeMap', data, {}, 've-treemap')
+                    window.proxy.vComponentChart('#chartTreeMap', data, {}, 've-treemap')
                   }, 1000)
                 } else if (item === 'winner_time_distribution') {
                   $('#buyerChart').show()
@@ -2637,7 +2637,7 @@ if(sessionselect){
                   if (total) {
                     data.rows.reverse()
                     setTimeout(() => {
-                      vComponentChart('#chartLineChartBuyer', data, {}, 've-line')
+                      window.proxy.vComponentChart('#chartLineChartBuyer', data, {}, 've-line')
                     }, 1000)
                   }
                 } else if (item === 'buyer_time_distribution') {
@@ -2670,7 +2670,7 @@ if(sessionselect){
                   if (total) {
                     data.rows.reverse()
                     setTimeout(() => {
-                      vComponentChart('#chartLineChart', data, {}, 've-line')
+                      window.proxy.vComponentChart('#chartLineChart', data, {}, 've-line')
                     }, 1000)
                   }
                 }