Commit 784103f7 authored by 赵啸非's avatar 赵啸非

修改xml111

parent fd49f6b4
......@@ -93,10 +93,10 @@ export default {
},
// 退出登录
logout() {
this.$post('/login/logout').then(data=>{}).catch(error=>{}).then(()=>{
this.$message.success('已退出登录');
this.$store.commit('logout');
this.$router.replace('/login');
this.$post('/portal_home').then(data=>{}).catch(error=>{}).then(()=>{
// this.$message.success('已退出登录');
//this.$store.commit('logout');
// this.$router.replace('/login');
})
}
},
......
......@@ -78,6 +78,8 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
return resp;
*/
JSONObject ret = new JSONObject();
ret.put(KEY_RESULT_CODE, VALUE_RESULT_FAILURE);
ret.put(KEY_RESULT_MSG, "请返回门户登录");
try {
/* JSONObject ret = new JSONObject();
String loginName = loginForm.getLoginName();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment