Förster resonance energy transfer (FRET)-Labeled nanoprobe enables real-time diagnosis of pancreatic juice activation due to postoperative pancreatic fistula.