longz
2026-05-28 23fe797f9dded6d7ec9ecbcf760f764374dea8e0
1
2
3
4
5
6
7
export function normalizeVisitReasonText(text?: string | null) {
  const raw = (text || '').trim()
  if (!raw) {
    return ''
  }
  return raw.replace(/^其他[::]\s*/, '')
}