dever 5 年之前
父節點
當前提交
29bc75abe8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      front/templates/pc/device/inc/menu.html

+ 1 - 1
front/templates/pc/device/inc/menu.html

@@ -1,4 +1,4 @@
-{% if data['show'] %}
+{% if 'show' in data and data['show'] %}
 <div class="crumbs">
     <h2><i class="icons ico-dt"></i>{{data['info']['name']}}</h2>
     <ul>