fix: 修复前端审计问题 (#26-28) #50

Merged
xiaoxia merged 6 commits from fix/audit-frontend-p2 into develop 2026-06-27 17:19:51 +08:00
3 changed files with 0 additions and 6 deletions
@@ -71,7 +71,6 @@ const Plans: React.FC = () => {
const handleSubscribe = async (planId: string) => {
try {
setSubscribing(true);
console.log('subscribe:', planId);
message.success('订阅成功');
} catch (error: any) {
message.error('订阅失败');
@@ -299,7 +299,6 @@ const ProjectGeneration: React.FC = () => {
await form.validateFields();
try {
const values = form.getFieldsValue();
console.log("生成任务参数:", { ...values, editing_mode: editingMode, edit_plan_id: selectedPlan?.id });
message.success("成片生成任务已创建");
setGenerateOpen(false);
form.resetFields();
-4
View File
@@ -125,10 +125,6 @@ export const router = createBrowserRouter([
path: 'profile',
lazy: () => import('@/pages/profile/Settings'),
},
{
path: 'profile/settings',
lazy: () => import('@/pages/profile/Settings'),
},
],
},
{