登录页新增星空背景
This commit is contained in:
parent
7015eff697
commit
cd8050d3cc
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- <starBackground></starBackground> -->
|
<starBackground></starBackground>
|
||||||
<div class="login">
|
<div class="login">
|
||||||
<el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
|
<el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
|
||||||
<h3 class="title">{{ defaultSettings.title }}</h3>
|
<h3 class="title">{{ defaultSettings.title }}</h3>
|
||||||
@ -65,7 +65,6 @@ import Cookies from 'js-cookie'
|
|||||||
import { encrypt, decrypt } from '@/utils/jsencrypt'
|
import { encrypt, decrypt } from '@/utils/jsencrypt'
|
||||||
import defaultSettings from '@/settings'
|
import defaultSettings from '@/settings'
|
||||||
import starBackground from '@/views/components/starBackground.vue'
|
import starBackground from '@/views/components/starBackground.vue'
|
||||||
import VueParticles from 'vue-particles'
|
|
||||||
|
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
@ -154,9 +153,6 @@ function getCookie() {
|
|||||||
rememberMe: rememberMe === undefined ? false : Boolean(rememberMe),
|
rememberMe: rememberMe === undefined ? false : Boolean(rememberMe),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const starRef = ref(null)
|
|
||||||
const stars = ref(800)
|
|
||||||
|
|
||||||
getCode()
|
getCode()
|
||||||
getCookie()
|
getCookie()
|
||||||
onMounted(() => {})
|
onMounted(() => {})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user