fix: 修复 MSW 接口和调试代码清理...

This commit is contained in:
zdl
2025-11-06 01:17:06 +08:00
parent ad933e9fb2
commit c5d6247f49
4 changed files with 27 additions and 23 deletions

View File

@@ -19,20 +19,6 @@ import { logger } from '../utils/logger';
* @param {'sm' | 'md'} props.size - 标签尺寸
*/
const SubscriptionBadge = ({ tier = 'pro', size = 'sm' }) => {
// 🔍 调试SubscriptionBadge 被渲染(强制输出)
console.error('🔴 [DEBUG] SubscriptionBadge 组件被渲染 - 这不应该出现max 会员)', {
tier,
size,
调用位置: new Error().stack
});
// 🔍 调试SubscriptionBadge 被渲染logger
logger.debug('SubscriptionBadge', '组件被渲染', {
tier,
size,
调用栈: new Error().stack
});
// PRO 和 MAX 配置
const config = {
pro: {