|
@@ -49,13 +49,10 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
-import { onMounted, reactive, ref, toRefs, watch, nextTick } from 'vue'
|
|
|
|
|
|
+import { reactive, ref, toRefs, watch, nextTick } from 'vue'
|
|
|
|
|
|
// 组件依赖
|
|
// 组件依赖
|
|
-import { /*ElForm, ElInput,*/ ElMessage } from 'element-plus'
|
|
|
|
import LangSelect from '@/components/LangSelect/index.vue'
|
|
import LangSelect from '@/components/LangSelect/index.vue'
|
|
-// 谷歌验证
|
|
|
|
-import GoogleVerifyDialog from './components/GoogleVerifyDialog.vue'
|
|
|
|
|
|
|
|
// 状态管理依赖
|
|
// 状态管理依赖
|
|
import useStore from '@/store'
|
|
import useStore from '@/store'
|
|
@@ -68,7 +65,6 @@ const route = useRoute()
|
|
|
|
|
|
const loginFormRef = ref(/*ElForm*/)
|
|
const loginFormRef = ref(/*ElForm*/)
|
|
const passwordRef = ref(/*ElInput*/)
|
|
const passwordRef = ref(/*ElInput*/)
|
|
-const captchaStatus = ref('ready') // ready loading complete
|
|
|
|
|
|
|
|
const state = reactive({
|
|
const state = reactive({
|
|
loginForm: {
|
|
loginForm: {
|
|
@@ -119,9 +115,6 @@ watch(
|
|
immediate: true
|
|
immediate: true
|
|
}
|
|
}
|
|
)
|
|
)
|
|
-
|
|
|
|
-onMounted(() => {
|
|
|
|
-})
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|