Commit e6ff053e authored by chenshouchao's avatar chenshouchao

修改删除按钮样式

parent 7573f4be
......@@ -62,7 +62,7 @@ const theme = createTheme({
"&.MuiButton-containedError": {
backgroundColor: "#FF4E4E",
"&:hover": {
backgroundColor: "rgba(255, 30, 78, 1)",
backgroundColor: "rgba(217, 54, 54, 1)",
},
},
},
......
......@@ -89,6 +89,7 @@ const DeleteDialog = (props: IDeleteFileProps) => {
open={deleteDialogOpen}
onClose={() => setDeleteDialogOpen(false)}
onConfirm={handleSubmit}
okColor="error"
>
{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