S.H.
Give her something else, to comfort with.
My friends, put Band-Aids on their nipples. They told their child "Mommy has a boo-boo..." or "Mommy's milk is broken..." and that worked for them. Reapplying Band-Aids until it is forgotten. These were with kids that were the age of your child.
For me, I self-weaned my kids. My daughter stopped at about 2.5 years old on her own.
BUT, I explained that it is MOMMY's boobs. Not hers. I also had rules about 'manners' about it. Asking nicely, not in public, NO grabbing me or my shirt etc.
If she asked, I would also sometimes tell her "In a minute, Mommy is busy..." then I would make myself busy and not sit down. And she would get distracted and forget about it.
Your child knows, if she tantrums about it, you will give in.
Or tell her only at certain times.
Or, if she is at your boobs... ONLY let her stay there for a short time. Which is up to you, not her.
Does your child do this, only when she is tired?
Does she have a lovey?
Try also giving her a sippy cup....
does she drink whole milk by now?
For me, I would also explain to my daughter, that "one day..." she will not need to nurse. I did that over time. Calmly.
all the best,
Susan