Chronic diabetic wounds are difficult to treat due to imbalanced inflammatory responses, high blood glucose levels, and bacterial infections. Novel therapeutic approaches based on nucleic acid analogues have been proposed, with unique advantages in improving angiogenesis, increasing collagen synthesis, and exerting anti-inflammatory effects. However, the inherent electronegativity of nucleic acids makes them less susceptible to cellular uptake. In this paper, a kind of near infrared (NIR)-responsive nanocomposite hydrogel loaded with nucleic acid vectors was proposed for promoting wound healing. The redox system composed of molybdenum disulphide nanosheets (MoS2 NSs) initiated the copolymerization of quaternized chitosan containing double bonds and N-isopropylacrylamide (NIPAAm) to form the matrix. In addition, MoS2 NSs with photothermal conversion performance endow the nanocomposite hydrogel to have NIR-response property and act as physical crosslinking points in the matrix. Polydeoxyribonucleotides (PDRN), which have the effect of promoting wound healing, were made into nucleic acid vectors, and loaded into the NIR-responsive hydrogel. MoS2 NSs can convert NIR irradiation into heat, causing phase transitions of temperature-sensitive segments that trigger volume contraction of the hydrogel to extrude the nucleic acid vector. Promoting angiogenesis, slowing inflammation, and guiding tissue regeneration were demonstrated in the diabetic wound model treated with the NIR-responsive nanocomposite hydrogel.