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

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

@@ -66,8 +66,7 @@
                 <button class="layui-btn" type='submit'>保存数据</button>
             </div>
         </form>
-        <script>window.form.render();
-        </script>
+
 
     </div>
     <!-- 主体内容 结束 -->
@@ -78,7 +77,9 @@
 <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>