export function validateStrongPassword(value) {
  const text = String(value || '')
  if (text.length < 8) return { ok: false, message: '密码长度至少8位' }
  if (!/[a-zA-Z]/.test(text) || !/\d/.test(text)) return { ok: false, message: '密码必须包含字母和数字' }
  return { ok: true, message: '' }
}

