Wound healing in diabetes is a substantial clinical challenge due to the hyperglycemic microenvironment, high pH, bacterial infection, persistent inflammation, and impaired cellular functions, attributed to mitochondrial dysfunction. Here, we have developed an injectable photo-crosslinking nanocomposite hydrogel (BA/GOx@ZIF-8@GelMA, BGZ@GelMA) with baicalein (BA) and glucose oxidase (GOx) loaded Zinc metal-organic framework (ZIF-8) based on methacrylated gelatin (GelMA) to accelerate diabetic infected wound healing by regulating subcellular and cellular functions. The combination of ZIF-8 and BA gives the hydrogel excellent antibacterial properties. A high blood sugar environment triggers the release of GOx in BGZ@GelMA, reducing local glucose and pH, producing hydrogen peroxide (H