改 state 为 reducer state, Context 共享数据修改, 完善资料卡对话框逻辑, 完善

This commit is contained in:
CrescentLeaf
2025-12-13 18:05:09 +08:00
parent dee8a24f0b
commit 3351d7dc4e
7 changed files with 183 additions and 29 deletions

View File

@@ -0,0 +1,14 @@
export default function ProgressDialogInner({ children, ...props }: React.HTMLAttributes<HTMLDivElement>) {
return <div {...props} style={{
display: 'flex',
alignItems: 'center',
...props.style
}} >
<mdui-circular-progress style={{
marginLeft: '3px',
}}></mdui-circular-progress>
<span style={{
marginLeft: '20px',
}}>{ children }</span>
</div>
}