修改注释, 添加换行, 删除不必要的代码
This commit is contained in:
@@ -29,4 +29,4 @@ export default function AvatarMySelf({
|
||||
})
|
||||
|
||||
return <Avatar avatarRef={avatarRef} {...props} {...args}></Avatar>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,12 +8,11 @@ import MainSharedContext from '../MainSharedContext.ts'
|
||||
export default function LoginDialog({ ...props }: { open: boolean } & React.HTMLAttributes<Dialog>) {
|
||||
const shared = React.useContext(MainSharedContext)
|
||||
|
||||
const loginDialogRef = React.useRef<Dialog>(null)
|
||||
const loginInputAccountRef = React.useRef<TextField>(null)
|
||||
const loginInputPasswordRef = React.useRef<TextField>(null)
|
||||
|
||||
return (
|
||||
<mdui-dialog {...props} headline="登录" ref={loginDialogRef}>
|
||||
<mdui-dialog {...props} headline="登录">
|
||||
|
||||
<mdui-text-field label="用户 ID / 用户名" ref={loginInputAccountRef}></mdui-text-field>
|
||||
<div style={{
|
||||
|
||||
Reference in New Issue
Block a user