Explorar el Código

更新 'templates/optim.html'

nemo0526 hace 3 años
padre
commit
d85e880e85
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      templates/optim.html

+ 6 - 0
templates/optim.html

@@ -51,6 +51,12 @@
       </div>
     </div>
     <script>
+      var hot = '{{x}}'
+    var cold = '{{y}}'
+    var wet = '{{z}}'
+    console.log(hot)
+    console.log(hot)
+    console.log(wet)
       const chart = echarts.init(document.getElementById("hot_water_data"));
       chart.setOption({
         series: [