Browse Source

update(embed.js): 配置 layui 扩展根目录

pull/5/head
Cheng Gu 7 years ago committed by GitHub
parent
commit
244475251a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      static/embed.js

6
static/embed.js

@ -1,3 +1,7 @@
//layui 根目录配置
layui.config({
base: '/static/layui/',
})
//载入layui组建 //载入layui组建
layui.use(['layer', 'form','element','upload','flow'], function(){ layui.use(['layer', 'form','element','upload','flow'], function(){
var form = layui.form; var form = layui.form;
@ -195,4 +199,4 @@ function about(){
area: ['240px', '100px'], area: ['240px', '100px'],
content: "./about.php" content: "./about.php"
}); });
} }

Loading…
Cancel
Save