mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-23 15:34:06 +01:00
This commit is contained in:
parent
ab5a91de5c
commit
c120e9933e
2 changed files with 4 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue