mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 06:48:49 +01:00
This commit is contained in:
parent
17f2a47b1c
commit
2fad03e028
1 changed files with 2 additions and 2 deletions
|
|
@ -458,7 +458,7 @@
|
|||
})
|
||||
|
||||
captchaElement.previousElementSibling.addEventListener('click', function () {
|
||||
this.src = '/api/system/getCaptcha'
|
||||
this.src = `/api/system/getCaptcha?v=${new Date().getTime()}`
|
||||
})
|
||||
|
||||
const submitAuth = () => {
|
||||
|
|
@ -477,7 +477,7 @@
|
|||
}
|
||||
|
||||
if (response.code === 1) {
|
||||
captchaElement.previousElementSibling.src = '/api/system/getCaptcha'
|
||||
captchaElement.previousElementSibling.src = `/api/system/getCaptcha?v=${new Date().getTime()}`
|
||||
captchaElement.parentElement.style.display = 'block'
|
||||
} else {
|
||||
captchaElement.parentElement.style.display = 'none'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue