Commit e6ff053e authored by chenshouchao's avatar chenshouchao

修改删除按钮样式

parent 7573f4be
...@@ -62,7 +62,7 @@ const theme = createTheme({ ...@@ -62,7 +62,7 @@ const theme = createTheme({
"&.MuiButton-containedError": { "&.MuiButton-containedError": {
backgroundColor: "#FF4E4E", backgroundColor: "#FF4E4E",
"&:hover": { "&:hover": {
backgroundColor: "rgba(255, 30, 78, 1)", backgroundColor: "rgba(217, 54, 54, 1)",
}, },
}, },
}, },
......
...@@ -89,6 +89,7 @@ const DeleteDialog = (props: IDeleteFileProps) => { ...@@ -89,6 +89,7 @@ const DeleteDialog = (props: IDeleteFileProps) => {
open={deleteDialogOpen} open={deleteDialogOpen}
onClose={() => setDeleteDialogOpen(false)} onClose={() => setDeleteDialogOpen(false)}
onConfirm={handleSubmit} onConfirm={handleSubmit}
okColor="error"
> >
{currentOperateFile {currentOperateFile
? "确认删除该数据吗?" ? "确认删除该数据吗?"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment