fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user