修复 「1.2.2 用户管理-用户列表勾选单一用户会全选 」 close #216

This commit is contained in:
dushixiang
2022-01-23 17:53:22 +08:00
parent 29c066ca3a
commit d35b348a33
130 changed files with 5467 additions and 4554 deletions

View File

@ -5,6 +5,10 @@ export const sleep = function (ms) {
return new Promise(resolve => setTimeout(resolve, ms))
}
export const setToken = function (token) {
localStorage.setItem('X-Auth-Token', token);
}
export const getToken = function () {
return localStorage.getItem('X-Auth-Token');
}