My Yorkie got pancreatitis about 3 years ago & had to stay at the vet 4 days.
The vet said not to give him anything w/ a lot of fat in it. We don't give him soft doggy treats anymore because those can be fattening. We never feed them people food anyway but we definitely make sure he doesn't get any now.
Just make sure you watch what your dog eats & gets into. Mine likes to get into whatever he can.