Vanessa 2023-06-20 11:23:19 +08:00
parent ab5a91de5c
commit c120e9933e
2 changed files with 4 additions and 2 deletions

View file

@ -160,6 +160,7 @@ export const login = () => {
userName: userNameElement.value.replace(/(^\s*)|(\s*$)/g, ""),
userPassword: md5(userPasswordElement.value),
captcha: captchaElement.value.replace(/(^\s*)|(\s*$)/g, ""),
cloudRegion: parseInt((modelMainElement.querySelector("#cloudRegion") as HTMLSelectElement).value)
}, (data) => {
if (data.code === 1) {
showMessage(data.msg);