docs: explain configuration inputs and authentication components

This commit is contained in:
cieanyau committed 2026-11-06 00:29:13 +08:00
1 parent dc32a74d7a
commit 3a53d2e58f
19 files changed
+72

No files matched your search

@@ -1,4 +1,5 @@
<script>
/** 实例敏感操作的短信验证码输入:先完成人机验证,再向当前账号发送 verify 场景验证码。 */
import "~/assets/styles/GeetestField.DiieTibK.css";
import "~/assets/styles/CaptchaField.BSN3ZbsD.css";
import "~/assets/styles/InstanceSmsCode.CsITfIEU.css";
@@ -73,6 +74,7 @@ var T = {
V,
H = !1;
async function U() {
// 发送成功才启动 60 秒倒计时;验证码挑战在使用后作废,失败交给统一挑战处理器更新。
if (
!(m.disabled || R.value || B.value || H) &&
((z.value = k.validationError()), !z.value)
@@ -106,6 +108,7 @@ var T = {
}
return (
onBeforeUnmount(() => {
// 离开实例操作时停止倒计时、废弃挑战并清空父级验证码,不能带到下一次操作。
((H = !0), clearInterval(V), k.invalidate(), (y.value = ``));
}),
(t, n) => {