From 244475251a822fecb8d03b0537cd94af37d91e68 Mon Sep 17 00:00:00 2001 From: Cheng Gu Date: Wed, 2 May 2018 15:38:15 +0800 Subject: [PATCH] =?UTF-8?q?update(embed.js):=20=E9=85=8D=E7=BD=AE=20layui?= =?UTF-8?q?=20=E6=89=A9=E5=B1=95=E6=A0=B9=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/embed.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/embed.js b/static/embed.js index 91ffc57..5afd90c 100644 --- a/static/embed.js +++ b/static/embed.js @@ -1,3 +1,7 @@ +//layui 根目录配置 +layui.config({ + base: '/static/layui/', +}) //载入layui组建 layui.use(['layer', 'form','element','upload','flow'], function(){ var form = layui.form; @@ -195,4 +199,4 @@ function about(){ area: ['240px', '100px'], content: "./about.php" }); -} \ No newline at end of file +}