修改页面,完成单页模式新增首页返回上一页按钮
This commit is contained in:
@@ -58,7 +58,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) {
|
||||
@@ -129,7 +129,7 @@
|
||||
genealogyName: nameInput.value.trim(), smsCode: codeInput.value.trim()
|
||||
});
|
||||
if (root.ProfileUI && root.ProfileUI.clearCurrentGenealogyContext) root.ProfileUI.clearCurrentGenealogyContext();
|
||||
if (root.location) root.location.href = 'profile-families.html';
|
||||
root.NavigationUtil.open('profile-families.html');
|
||||
} catch (error) { setStatus('error', error.message || '永久删除提交失败'); }
|
||||
finally { setPending(false); }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user