📅  最后修改于: 2022-03-11 15:03:38.808000             🧑  作者: Mango
.then((res) => {
localStorage.setItem("apiData", JSON.stringify(res.data));
});
//////// THEN YOU CAN GET DATA BY
var data = JSON.parse(localStorage.getItem("apiData"));