修改页面,完成单页模式新增首页返回上一页按钮

This commit is contained in:
2026-08-31 14:48:32 +08:00
parent aaed0584b1
commit 15b301b358
363 changed files with 10895 additions and 213 deletions
+2 -2
View File
@@ -123,7 +123,7 @@
if (!page) return;
if (!api || !api.getToken || !api.getToken()) {
if (root.location) root.location.href = 'login.html';
root.NavigationUtil.open('login.html');
return;
}
if (!genealogyId) {
@@ -218,7 +218,7 @@
);
if (!access || !access.accessUrl) throw new Error('文件访问响应缺少地址');
if (accessWindow) accessWindow.location.replace(access.accessUrl);
else root.location.href = access.accessUrl;
else root.NavigationUtil.open(access.accessUrl);
return;
}
if (unlockButton) {