我不知道

This commit is contained in:
CrescentLeaf
2025-12-14 00:13:47 +08:00
parent 895ea6e4e1
commit 505e629f30
4 changed files with 122 additions and 9 deletions

View File

@@ -24,6 +24,7 @@ import ChatFragmentDialog from "./routers/ChatFragmentDialog.tsx"
import EffectOnly from "./EffectOnly.tsx"
import MainSharedReducer from "./MainSharedReducer.ts"
import gotoUserInfo from "./routers/gotoUserInfo.ts"
import EditMyProfileDialog from "./routers/EditMyProfileDialog.tsx"
function Root() {
const [myProfileCache, setMyProfileCache] = React.useState<UserMySelf>()
@@ -129,8 +130,6 @@ function Root() {
}}></mdui-divider>
<mdui-list-item rounded icon="person_add"></mdui-list-item>
<mdui-list-item rounded icon="group_add"></mdui-list-item>
<Link to="/info/user?id=0960bd15-4527-4000-97a8-73110160296f"><mdui-list-item rounded icon="group_add"></mdui-list-item></Link>
<Link to="/info/chat?id=priv_0960bd15_4527_4000_97a8_73110160296f__0960bd15_4527_4000_97a8_73110160296f"><mdui-list-item rounded icon="group_add">2</mdui-list-item></Link>
</mdui-list>
<div style={{
flexGrow: 1,
@@ -235,6 +234,15 @@ export default function Main() {
Component: UserOrChatInfoDialog,
loader: UserOrChatInfoDialogLoader,
},
{
path: 'settings',
children: [
{
path: 'edit_profile',
Component: EditMyProfileDialog,
}
],
},
/* {
path: 'chat',
Component: ChatFragmentDialog,