fix: 修复 MSW 接口和调试代码清理...
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user