If their permits were issued because of you (private-affairs or family-reunion as your dependant), then yes — they are handled together with yours. When your work permit is cancelled, the exit-entry authority treats the family as one set and may revoke the dependants' permits at the same time. If a family member holds an independent permit (their own work or study), that one is not automatically affected.
Nationwide (all cities)
The categories are separate
It depends on why the family member's permit was issued. The residence permits for family members are not one category — the Regulation lists work, study, journalist, family-reunion and private-affairs as separate types. The ones tied to you are private-affairs (spouse, parents, under-18 children of a worker or student) and family-reunion (family members of a Chinese citizen or a permanent-residence holder).
The dependent link is direct
For those dependant permits, the link to you is direct. The Nanning notice is the clearest official example: when two employees resigned and their work permits were cancelled, the authority announced the revocation of the residence permits of the employees and their accompanying family members as a single action.
The decisive question
So the answer depends on the family member's own status: a spouse or child whose permit exists only because of you must be handled together with yours; a spouse or child who holds their own work or study permit is an independent applicant and is not automatically affected by your resignation.