Unify user-facing role terminology by replacing 消费者 with 客户 while keeping role keys unchanged. This aligns account settings, header role switch, global role labels, and order list role text.
Turn on react-hooks/set-state-in-effect and react-hooks/incompatible-library, then remove effect-driven local state sync patterns across affected pages. Keep behavior stable by deriving values from source state, remounting tab state by role key, and replacing useForm watch with useWatch.