I assume you did inland application? If yes, your wife needs to maintain status. You can do this by filing a visitor extension. This must be done 30 days BEFORE expiry date of TRV.
If you applied for OWP at the same time, this will also be considered maintained status if it is approved before expiry of TRV.
I would file an visitor extension application if it is not to late in your case.
If outland application, I think she has to leave, but there are probably others here that can advice you on that.
It is very important to not overstay visa!
Good luck!