feat: 去掉logger

This commit is contained in:
zdl
2025-11-25 14:15:45 +08:00
parent 86259793cb
commit b9a587bac4
3 changed files with 1 additions and 40 deletions

View File

@@ -2,7 +2,6 @@
// 认证弹窗状态管理 Redux Slice - 从 AuthModalContext 迁移
import { createSlice } from '@reduxjs/toolkit';
import { logger } from '../../utils/logger';
/**
* AuthModal Slice
@@ -22,9 +21,6 @@ const authModalSlice = createSlice({
openModal: (state, action) => {
state.isOpen = true;
state.redirectUrl = action.payload?.redirectUrl || null;
logger.debug('authModalSlice', '打开认证弹窗', {
redirectUrl: action.payload?.redirectUrl || '无'
});
},
/**
@@ -33,7 +29,6 @@ const authModalSlice = createSlice({
closeModal: (state) => {
state.isOpen = false;
state.redirectUrl = null;
logger.debug('authModalSlice', '关闭认证弹窗');
},
/**