const getQueryString = (name, url = "") => {
url = url.split("#")[0];
let reg = new RegExp("(^|\\?|&)" + name + "=([^&]*)(\\s|&|$)", "i");
return reg.test(url) ? decodeURIComponent(RegExp.$2.replace(/\+/g, " ")) : "";
};
// 获取链接中的appId-key
const appId = getQueryString("appId", this.successUrl);