fix: 茅台预约平台,登录界面修改。
This commit is contained in:
@@ -130,13 +130,13 @@ function getCode() {
|
||||
}
|
||||
|
||||
function getDefaultBg() {
|
||||
getConfigKey('defaultBg').then((res) => {
|
||||
getConfigKey('imaotaiBg').then((res) => {
|
||||
defaultBg.value = res.msg
|
||||
})
|
||||
}
|
||||
|
||||
function getDefaultTitle() {
|
||||
getConfigKey('defaultTitle').then((res) => {
|
||||
getConfigKey('imaotaiTitle').then((res) => {
|
||||
title.value = res.msg
|
||||
document.title = res.msg
|
||||
})
|
||||
|
||||
@@ -52,7 +52,7 @@ const { proxy } = getCurrentInstance()
|
||||
const registerForm = ref({
|
||||
username: '',
|
||||
password: '',
|
||||
resource: '1',
|
||||
resource: '3',
|
||||
confirmPassword: '',
|
||||
code: '',
|
||||
uuid: ''
|
||||
@@ -87,7 +87,7 @@ const loading = ref(false)
|
||||
const captchaEnabled = ref(true)
|
||||
|
||||
function handleRegister() {
|
||||
registerForm.value.resource = '1'
|
||||
registerForm.value.resource = '3'
|
||||
proxy.$refs.registerRef.validate((valid) => {
|
||||
if (valid) {
|
||||
loading.value = true
|
||||
|
||||
Reference in New Issue
Block a user