Explorar el Código

退出登录清空租户编码持久化数据

@dongkboy hace 1 semana
padre
commit
7f0ae92988
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      store/modules/user.js

+ 2 - 0
store/modules/user.js

@@ -90,6 +90,8 @@ export const mutations = {
 		state.userInfo = {};
 		state.userCheckInfo = {};
 		state.token = '';
+		state.system_code = '';
+		state.system_Name = '';
 		// #ifdef H5
 		window.sessionStorage.removeItem("userInfo");
 		window.sessionStorage.removeItem("userCheckInfo");