Commit 5051e9ce authored by 杨思琦's avatar 杨思琦

fix: 删除缓存

parent 3b631478
Pipeline #63501 passed with stages
...@@ -217,6 +217,8 @@ export function logout(data) { ...@@ -217,6 +217,8 @@ export function logout(data) {
}); });
localStorage.removeItem('access_token'); localStorage.removeItem('access_token');
localStorage.removeItem('password_token'); localStorage.removeItem('password_token');
localStorage.removeItem('password_pwdRegex');
localStorage.removeItem('password_pwdRegexTip');
// eslint-disable-next-line no-undef,no-restricted-globals // eslint-disable-next-line no-undef,no-restricted-globals
createStoreage.remove(`__PANDA_STORE__${location.hostname}`); createStoreage.remove(`__PANDA_STORE__${location.hostname}`);
// eslint-disable-next-line no-undef,no-restricted-globals // eslint-disable-next-line no-undef,no-restricted-globals
......
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