diff --git a/src/views/pages/login.vue b/src/views/pages/login.vue index 1f30dca..5d3c461 100644 --- a/src/views/pages/login.vue +++ b/src/views/pages/login.vue @@ -120,7 +120,7 @@ const rules = { }; // 表单引用 const login = ref(null); -const maxLoginRepeatRequest = 30; //最大请求次数 +const maxLoginRepeatRequest = 60; //最大请求次数 const currentLoginRequest = ref(0); //当前请求次数 const thirdPartyLogoInfoList = ref([ @@ -158,13 +158,6 @@ var loginData = ref({ password: "", ip: "", }); -const thirdPartyPlatform = ref([ - { label: 'QQ', value: 'qq' }, - { label: 'Github', value: 'github' }, - { label: 'Gitee', value: 'gitee' }, - { label: 'Google', value: 'google' }, - { label: 'Facebook', value: 'facebook'} -]); const thirdLogin = async (type) => { //获取uuid diff --git a/src/views/pages/ucenter.vue b/src/views/pages/ucenter.vue index 834099a..5e96f34 100644 --- a/src/views/pages/ucenter.vue +++ b/src/views/pages/ucenter.vue @@ -158,7 +158,7 @@ const avatarImg = ref(''); const imgSrc = ref(''); const cropImg = ref(''); const cropper: any = ref(); -const maxLoginRepeatRequest = 30; //最大请求次数 +const maxLoginRepeatRequest = 60; //最大请求次数 const currentLoginRequest = ref(0); //当前请求次数 const thirdPartyUserInfo = ref([]);