王新凯 3 years ago
parent
commit
7b330d8604
1 changed files with 3 additions and 3 deletions
  1. 3 3
      application/admin/view/ddd/form.html

+ 3 - 3
application/admin/view/ddd/form.html

@@ -71,8 +71,7 @@
             <button class="layui-btn" type='submit'>保存数据</button>
         </div>
     </form>
-        <script>window.form.render();
-        </script>
+
     </div>
     <!-- 主体内容 结束 -->
 
@@ -82,7 +81,8 @@
 <script src="__ROOT__/static/plugs/echarts/echarts.min.js"></script>
 <script src="__ROOT__/static/plugs/require/require.js"></script>
 <script src="__ROOT__/static/admin.js"></script>
-{block name='script'}{/block}
+<script>window.form.render();
+</script>
 </body>
 
 </html>