|
@ -24,7 +24,10 @@ const inputValue = ref('') |
|
|
const keyboardVisible = ref(false) |
|
|
const keyboardVisible = ref(false) |
|
|
const keyboardType = ref<'text' | 'number'>('text') |
|
|
const keyboardType = ref<'text' | 'number'>('text') |
|
|
const softKeyboardRef = ref() |
|
|
const softKeyboardRef = ref() |
|
|
const loginForm = ref<Record<string, any>>(sys.loginForm) |
|
|
|
|
|
|
|
|
const loginForm = ref<Record<string, any>>({ |
|
|
|
|
|
name: import.meta.env.FT_NODE_ENV !== 'prod' ? 'admin' : '', |
|
|
|
|
|
pwd: import.meta.env.FT_NODE_ENV !== 'prod' ? '9973' : '', |
|
|
|
|
|
}) |
|
|
const focusedInput = ref<string | null>(null) |
|
|
const focusedInput = ref<string | null>(null) |
|
|
const keyboardKey = ref(nanoid()) |
|
|
const keyboardKey = ref(nanoid()) |
|
|
|
|
|
|
|
@ -149,6 +152,7 @@ const loginHandle = async () => { |
|
|
v-prevent-keyboard |
|
|
v-prevent-keyboard |
|
|
size="large" |
|
|
size="large" |
|
|
name="pwd" |
|
|
name="pwd" |
|
|
|
|
|
autocomplete="new-password" |
|
|
placeholder="密码" |
|
|
placeholder="密码" |
|
|
type="password" |
|
|
type="password" |
|
|
@focus="openKeyboard" |
|
|
@focus="openKeyboard" |
|
|