mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-23 15:47:23 +08:00
🐞 fix: 修复登录状态问题 修复播放退出登录的问题
This commit is contained in:
@@ -50,7 +50,7 @@ request.interceptors.request.use(
|
||||
};
|
||||
const token = localStorage.getItem('token');
|
||||
if (token) {
|
||||
config.params.cookie = `${token} os=pc;`;
|
||||
config.params.cookie = config.params.cookie || token;
|
||||
}
|
||||
if (isElectron) {
|
||||
const proxyConfig = setData?.proxyConfig;
|
||||
|
||||
Reference in New Issue
Block a user