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

修改xml111

parent fd49f6b4
...@@ -93,10 +93,10 @@ export default { ...@@ -93,10 +93,10 @@ export default {
}, },
// 退出登录 // 退出登录
logout() { logout() {
this.$post('/login/logout').then(data=>{}).catch(error=>{}).then(()=>{ this.$post('/portal_home').then(data=>{}).catch(error=>{}).then(()=>{
this.$message.success('已退出登录'); // this.$message.success('已退出登录');
this.$store.commit('logout'); //this.$store.commit('logout');
this.$router.replace('/login'); // this.$router.replace('/login');
}) })
} }
}, },
......
...@@ -78,6 +78,8 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi ...@@ -78,6 +78,8 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
return resp; return resp;
*/ */
JSONObject ret = new JSONObject(); JSONObject ret = new JSONObject();
ret.put(KEY_RESULT_CODE, VALUE_RESULT_FAILURE);
ret.put(KEY_RESULT_MSG, "请返回门户登录");
try { try {
/* JSONObject ret = new JSONObject(); /* JSONObject ret = new JSONObject();
String loginName = loginForm.getLoginName(); 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