iloom-flatten/.microcompact/mpo0vye9/functions.Edit:1.txt

23 lines
873 B
Plaintext

The file /home/project/src/pages/MemberManage.tsx has been updated. Made 1 replacement.
Here's the result of running `cat -n` on a snippet of the edited file:
44→ password: ''
45→ });
46→ const [editingMaster, setEditingMaster] = useState(false);
47→
48→ // 公司信息
49→ const [companyInfo, setCompanyInfo] = useState<{
50→ name: string;
51→ contact_phone: string | null;
52→ role: string;
53→ } | null>(null);
54→
55→ // 帮助系统弹窗状态
56→ const [showUserManual, setShowUserManual] = useState(false);
57→ const [showFeedback, setShowFeedback] = useState(false);
58→ const [showAbout, setShowAbout] = useState(false);
59→
60→ useEffect(() => {
61→ if (!auth.user) return;
62→ // 只有主账号可以管理子账号
63→ if (!auth.user.is_master) {