This commit is contained in:
X1627315083
2025-09-11 14:56:08 +08:00
parent 7e6a3b1144
commit 14725b430e
10 changed files with 25 additions and 15 deletions

View File

@@ -11,6 +11,8 @@
</template>
<script>
import { defineComponent, ref, reactive, watch, onMounted, onBeforeUnmount, toRefs } from "vue";
import { Modal,message } from 'ant-design-vue';
import { useI18n } from 'vue-i18n'
export default defineComponent({
name: "login",
@@ -22,6 +24,7 @@
}
},
setup(props, { emit }) {
const {t} = useI18n()
const handleCredentialResponse = async (response) => {
// 获取回调响应的凭证数据 然后拿这个凭证给后台后台jwt进行解析获取登录信息
let code = response.credential
@@ -76,6 +79,7 @@
}
}
const toGmailLogin = ()=>{
console.log(12312)
message.info(t('account.canNotUtilize'))
}
onBeforeUnmount(()=>{
@@ -131,7 +135,7 @@
box-sizing: border-box;
position: relative;
background: transparent;
pointer-events: none;
// pointer-events: none;
background-color: #f5f5f5;
@media (max-width: 768px) {
border-radius: 2.5rem;