可信代码库-生产环境token覆盖问题解决

This commit is contained in:
付民康
2025-07-17 11:02:19 +08:00
parent b8743716b5
commit 3a9fbbf5cc
24 changed files with 9493 additions and 82 deletions

View File

@@ -708,7 +708,7 @@ watch(
// 移除参数
localStorage.removeItem('loginReturnUrl');
const handleAuthLogin = (type: 'csdn' | 'gitee' | 'github') => {
if (localStorage.getItem('access_token')) {
if (localStorage.getItem('op_access_token')) {
emits('close', true);
} else {
if (!status.value) {