Browse Source

fix:登录判断

master
guoapeng 3 months ago
parent
commit
e38e31b0db
  1. 2
      package.json
  2. 5
      src/pages/Login/index.vue

2
package.json

@ -1,7 +1,7 @@
{ {
"name": "a8000-plus", "name": "a8000-plus",
"private": true, "private": true,
"version": "0.0.2",
"version": "0.0.3",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

5
src/pages/Login/index.vue

@ -90,7 +90,10 @@ const submitPin = async () => {
const showPassword = ref(false) const showPassword = ref(false)
const next = () => { const next = () => {
showPassword.value = true
if (activeUser.value?.id) {
showPassword.value = true
}
} }
const back = () => { const back = () => {
showPassword.value = false showPassword.value = false

Loading…
Cancel
Save