Commit 0c5182024a0642d580f0b0b29b2b2a5f41e63025

Authored by fengtao
1 parent 8f66932b

feat:新增命中401清除储存

Showing 1 changed file with 2 additions and 0 deletions
@@ -85,6 +85,8 @@ uni.$u.http.interceptors.response.use( @@ -85,6 +85,8 @@ uni.$u.http.interceptors.response.use(
85 uni.reLaunch({ 85 uni.reLaunch({
86 url: "/publicLoginSubPage/public/login", 86 url: "/publicLoginSubPage/public/login",
87 }); 87 });
  88 + // 清空登录信息
  89 + store.commit("emptyUserInfo");
88 show = false; 90 show = false;
89 } else { 91 } else {
90 errorData = message || ""; 92 errorData = message || "";