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

+3
View File
@@ -1,4 +1,5 @@
<script>
/** 账号设置中的微信关注与推送开关;仅在站点启用扫码功能时读取关联状态。 */
import "~/assets/styles/WechatConnection.DI5ko1xy.css";
import { toDisplayString } from "vue";
import { onMounted } from "vue";
@@ -66,6 +67,7 @@ var w = {
I = !0,
L = 0;
async function R() {
// 状态字段限定为 0/1,重试或关闭功能会推进代次,旧响应不能恢复已隐藏的关联信息。
if (!j.scanLoginEnabled.value || !I) return;
let e = ++L;
((F.value = !0), (N.value = ``));
@@ -91,6 +93,7 @@ var w = {
}
}
async function z() {
// 仅已关注账号可切换推送,保存后重新回读服务端状态,不假设开关已生效。
if (!(!I || P.value || F.value || M.value?.is_subscribe !== 1)) {
((P.value = !0), (N.value = ``));
try {