From 2fad03e0286eb7b69487cd1fb449d5520cd41627 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 16 Jul 2022 16:23:59 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/5429 --- app/stage/auth.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/stage/auth.html b/app/stage/auth.html index c63176e75..ce221fc29 100644 --- a/app/stage/auth.html +++ b/app/stage/auth.html @@ -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'