📅  最后修改于: 2022-03-11 15:02:51.952000             🧑  作者: Mango
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const code = urlParams.get('code')