diff --git a/src/pages/ProfileManagementPage/components/ActiveProfileCard.tsx b/src/pages/ProfileManagementPage/components/ActiveProfileCard.tsx index 5aa4b89..01d5f48 100644 --- a/src/pages/ProfileManagementPage/components/ActiveProfileCard.tsx +++ b/src/pages/ProfileManagementPage/components/ActiveProfileCard.tsx @@ -236,7 +236,7 @@ export function ActiveProfileCard({ group, proxyRunning }: ActiveProfileCardProp onValueChange={handleInstanceChange} disabled={toolInstances.length === 0} > - + diff --git a/src/pages/ProfileManagementPage/components/ProfileCard.tsx b/src/pages/ProfileManagementPage/components/ProfileCard.tsx index 73fdc25..32a7cd1 100644 --- a/src/pages/ProfileManagementPage/components/ProfileCard.tsx +++ b/src/pages/ProfileManagementPage/components/ProfileCard.tsx @@ -3,7 +3,7 @@ */ import { useState } from 'react'; -import { Check, MoreVertical, Pencil, Power, Trash2, Tag } from 'lucide-react'; +import { Check, MoreVertical, Pencil, Power, Trash2, Tag, AlertCircle } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; import { @@ -99,12 +99,16 @@ export function ProfileCard({
{profile.name} {profile.is_active && !proxyRunning && ( - + 激活中 )} - + {sourceInfo.text} @@ -124,13 +128,19 @@ export function ProfileCard({ {(!profile.is_active || proxyRunning) && ( <> 激活 + {proxyRunning && ( +
+ + 透明代理运行中,请先停止代理 +
+ )} )}