From 9bb3b9dda9f9facf17c789183464642ed40fed67 Mon Sep 17 00:00:00 2001 From: xiezhouwei Date: Thu, 11 Jun 2026 14:25:40 +0800 Subject: [PATCH] fix: properly remove student section without breaking tag balance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove handleApplyStudent function and studentApplying state - Remove student card section (学员身份申请提示 and 申请学员身份按钮) - Ensure all div/Card tags remain properly balanced --- web/src/components/settings/PersonalSetting.jsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/web/src/components/settings/PersonalSetting.jsx b/web/src/components/settings/PersonalSetting.jsx index a9bf92c..c5da209 100644 --- a/web/src/components/settings/PersonalSetting.jsx +++ b/web/src/components/settings/PersonalSetting.jsx @@ -1,4 +1,4 @@ -/* +/* Copyright (C) 2025 QuantumNous This program is free software: you can redistribute it and/or modify @@ -553,17 +553,13 @@ const PersonalSetting = () => { } }; + return (
{/* 顶部用户信息区域 */} -
- -
-
-
{/* 签到日历 - 仅在启用时显示 */} {status?.checkin_enabled && (