docs: annotate account commerce finance and content pages

This commit is contained in:
cieanyau committed 2026-11-06 00:29:13 +08:00
1 parent 60827b8bfb
commit 2be21c1c62
24 files changed
+223

No files matched your search

+5
View File
@@ -1,4 +1,7 @@
<script>
/**
* 第三方账号关联管理:从账户资料整理 OAuth 绑定状态,通过公共 OAuth 流程发起关联,并确认后解除绑定。
*/
import "~/assets/styles/WechatConnection.DI5ko1xy.css";
import { toDisplayString } from "vue";
import { renderList } from "vue";
@@ -77,6 +80,7 @@ var D = {
onBeforeUnmount(() => {
J = !1;
});
// 读取 /account 的 OAuth 关联列表;组件卸载后的响应不再更新界面。
async function Y() {
if (!R.value) {
((R.value = !0), (z.value = ``));
@@ -91,6 +95,7 @@ var D = {
}
}
}
// 仅对已关联的提供方执行解绑;请求完成后重新加载列表,以服务端结果为准。
async function X() {
if (U.value?.linked && !H.value && !W.value && J) {
((H.value = !0), (z.value = ``), (B.value = ``));