rabin 7 years ago
parent
commit
1c82dd9ea6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      front/templates/pc/device/data.html
  2. 1 1
      front/templates/pc/device/stat.html

+ 1 - 1
front/templates/pc/device/data.html

@@ -49,7 +49,7 @@
 
                 {% if 'stat' in data and data['stat'] %}
                 <div>
-                    <div class="pannel" name="chart" id="chart" style="display:none;">
+                    <div class="pannel" name="chart" id="chart">
                         <h2>今日(<span class="name">{{data['stat']['name']}}</span>)数据趋势</h2>
                         <div class="box" id="main" style="width: 100%;height:405px;"></div>
                     </div> 

+ 1 - 1
front/templates/pc/device/stat.html

@@ -20,7 +20,7 @@
         <input type="text" name="end" id="end" readonly class="form_datetime" value="{% if 'end' in data['search'] %}{{data['search']['end']}}{% end %}" style="width:150px;">
         <input type="submit" value="查询">  
     </form>
-	<div class="box" id="main" style="width: 100%;height:400px;display:none;">
+	<div class="box" id="main" style="width: 100%;height:400px;">
     </div>
 </div>
 {% end %}