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 +}