摘要: // 登录验证用户let loginVerification = function ( name , password ) { let _sql = `SELECT * from users where userName= "${name}" and pass = "${password}"` ; 阅读全文
posted @ 2018-04-26 17:11 我有一颗大白菜 阅读(1591) 评论(0) 推荐(0) 编辑
摘要: let $this = this;//定义Vue this 对象:then里的的this 指并非Vue this.$http.post('/login', formData, config).then(res => { console.log(res) if (res.data.status tru 阅读全文
posted @ 2018-04-26 17:09 我有一颗大白菜 阅读(217) 评论(0) 推荐(0) 编辑
摘要: layui.selMeltiple = function (a) { a(".layui-form select[multiple=multiple]").each(function (k, e) { var f = "", d = "", c = ""; a(this).find("option" 阅读全文
posted @ 2018-04-26 17:04 我有一颗大白菜 阅读(3776) 评论(0) 推荐(0) 编辑