diff --git a/public/static/admin/modules/set.js b/public/static/admin/modules/set.js index 31b7d52..47e376a 100644 --- a/public/static/admin/modules/set.js +++ b/public/static/admin/modules/set.js @@ -188,8 +188,8 @@ layui.define(['form', 'upload'], function(exports){ //console.log(obj.field); //提交修改 admin.req({ - type: post, - url: '/admin/admin/repass' + type: 'post' + ,url: '/admin/admin/repass' ,data: obj.field ,success: function(res){ if(res.code == 0){