remove more dep
parent
38eac46cb9
commit
f08b4314d6
|
|
@ -40,13 +40,11 @@
|
|||
<script src="component/layui/layui.js"></script>
|
||||
<script src="component/pear/pear.js"></script>
|
||||
<script>
|
||||
layui.use(['form', 'element', 'jquery', 'button', 'popup'], function() {
|
||||
layui.use(['form', 'button', 'popup'], function() {
|
||||
var form = layui.form;
|
||||
var element = layui.element;
|
||||
var button = layui.button;
|
||||
var popup = layui.popup;
|
||||
var $ = layui.jquery;
|
||||
|
||||
|
||||
// 登 录 提 交
|
||||
form.on('submit(login)', function(data) {
|
||||
button.load({
|
||||
|
|
|
|||
Loading…
Reference in New Issue