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. 4
      static/embed.js

4
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;

Loading…
Cancel
Save