mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user