diff --git a/src/component/LoginPage/googleLogin.vue b/src/component/LoginPage/googleLogin.vue index 7153573e..07c21d36 100644 --- a/src/component/LoginPage/googleLogin.vue +++ b/src/component/LoginPage/googleLogin.vue @@ -58,7 +58,7 @@ itp_support:true, }); window.google.accounts.id.renderButton( - document.getElementById("g_id_signin"), + document.querySelector('.Container #g_id_signin'), { type:"icon",//icon为只有一个icon shape:"circle", @@ -89,6 +89,13 @@ :deep(.nsm7Bb-HzV7m-LgbsSe.JGcpL-RbRzK){ width: 100%; } + // :deep(.S9gUrf-YoZ4jf){ + // *{ + // width: 100%; + // height: 100%; + // } + + // } .icon{ // width: 40px; width: auto;