uniapp webview 内嵌H5,H5内的https://accounts.google.com 无法加载
const script = document.createElement('script');
script.src = "https://accounts.google.com/gsi/client";
script.async = true;
script.defer = true;
script.onload = () => {
console.log("Google GSI client script loaded.");
_this.$toast.clear();
_this.initializeGoogleOneTap();
};
script.onerror = () => {
console.error("Failed to load Google GSI client script.");
};
document.head.appendChild(script);
基座一直走 console.error("Failed to load Google GSI client script.");
0 个回复