Browse Source

更新 'templates/optim.html'

nemo0526 3 years ago
parent
commit
d85e880e85
1 changed files with 6 additions and 0 deletions
  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: [