revert: remove aotu components

This commit is contained in:
xingyu4j
2022-11-17 17:18:48 +08:00
parent ed3170e837
commit 91113eac18
6 changed files with 33 additions and 49 deletions

View File

@ -206,6 +206,7 @@ service.interceptors.response.use(
)
const refreshToken = async () => {
axios.defaults.headers.common['tenant-id'] = getTenantId()
return await axios.post(base_url + '/system/auth/refresh-token?refreshToken=' + getRefreshToken())
}
const handleAuthorized = () => {