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