docs: annotate payment, host operations and shared components

This commit is contained in:
cieanyau committed 2026-11-06 00:29:13 +08:00
1 parent d37ce57d09
commit dc32a74d7a
17 files changed
+100

No files matched your search

+3
View File
@@ -1,4 +1,5 @@
<script>
/** 监听 Nuxt 版本清单与分块加载失败,提示用户保存表单后确认刷新,不自动打断操作。 */
import "~/assets/styles/BuildUpdateNotice.CuqdqvlF.css";
import { reloadNuxtApp as y } from "#app";
import { useNuxtApp } from "#app";
@@ -45,6 +46,7 @@ var b = {
((C.value = !0), (h.value = !0));
});
onBeforeUnmount(() => {
// hook 返回取消注册函数;卸载后必须解绑,避免重复提示。
(T(), E());
});
function D() {
@@ -54,6 +56,7 @@ var b = {
v.value = !0;
}
function k() {
// 确认后强制完整刷新且不持久化 Nuxt 状态,避免新版本继续使用旧内存状态。
!S.value &&
v.value &&
((S.value = !0),