From 95486de366700d64b15b4753f517b686f8241a24 Mon Sep 17 00:00:00 2001 From: toogee Date: Tue, 14 Jan 2020 16:28:35 +0800 Subject: [PATCH] repass --- public/static/admin/modules/set.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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){