完善备注面板

This commit is contained in:
xianyi
2025-12-16 18:08:39 +08:00
parent f8a7b41463
commit 1d993e76c5
3 changed files with 35 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ export const NoteModal = ({ noteText, onNoteChange, onClose }: NoteModalProps) =
const [saving, setSaving] = useState(false);
const [message, setMessage] = useState<string | null>(null);
const operatorId = typeof window !== 'undefined' ? localStorage.getItem('operatorPhone') || 'unknown' : 'unknown';
const operatorId = typeof window !== 'undefined' ? localStorage.getItem('operatorId') || '' : '';
const operatorName = typeof window !== 'undefined' ? localStorage.getItem('operatorName') || '未知' : '未知';
// 初始化拉取备注