fix(navigation): 统一 redirectToPage 方法;修复内容区域宽度
- 各页面 redirectToPage 统一为直接跳转 page 参数 - 组件样式增加 main-content margin-left 避免内容被侧边栏遮挡 - 确保固定侧边栏与主内容布局正确
This commit is contained in:
@@ -602,7 +602,7 @@ const TopicsApp = {
|
||||
.catch(() => {});
|
||||
},
|
||||
handleLogout() { localStorage.removeItem('authToken'); window.location.href = '/'; },
|
||||
redirectToPage(page) { window.location.href = page.startsWith('/') ? page : '/' + page; },
|
||||
redirectToPage(page) { window.location.href = page; },
|
||||
getStatusLabel(status) {
|
||||
const statusMap = {
|
||||
'pending': '待处理',
|
||||
|
||||
Reference in New Issue
Block a user