From f1c894a81ef3de98e884b527765cd311b04ae4d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8A=E3=81=95=E3=82=80=E3=81=AE=E3=81=B2=E3=81=A8?= <46447427+samunohito@users.noreply.github.com> Date: Thu, 19 Dec 2024 20:16:34 +0900 Subject: [PATCH] add comment --- packages/frontend/src/components/MkCaptcha.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/components/MkCaptcha.vue b/packages/frontend/src/components/MkCaptcha.vue index 98ba660668..f22e906240 100644 --- a/packages/frontend/src/components/MkCaptcha.vue +++ b/packages/frontend/src/components/MkCaptcha.vue @@ -142,6 +142,7 @@ async function requestRender() { }); } } else if (props.provider === 'mcaptcha' && props.instanceUrl && props.sitekey) { + // 設定値の変更時などのタイミングで再レンダリングを行う際はコンテナ内をクリアしておかないと更新されるたびに増えていく const container = document.getElementById('mcaptcha__widget-container'); if (container) { container.innerHTML = '';