Commit e768552c authored by chenshouchao's avatar chenshouchao

feat: 修改数据集样式

parent cca46cd3
...@@ -180,14 +180,6 @@ export default function MySelect(props: IProps) { ...@@ -180,14 +180,6 @@ export default function MySelect(props: IProps) {
}, },
}, },
}, },
MuiFormControl: {
styleOverrides: {
root: {
width: "100%",
},
},
},
}, },
}); });
......
...@@ -158,6 +158,7 @@ const SeeDataset = observer((props: ISeeDatasetProps) => { ...@@ -158,6 +158,7 @@ const SeeDataset = observer((props: ISeeDatasetProps) => {
searchDataType, searchDataType,
sort, sort,
keyword, keyword,
firstGetList,
// Message, // Message,
] ]
); );
...@@ -221,11 +222,12 @@ const SeeDataset = observer((props: ISeeDatasetProps) => { ...@@ -221,11 +222,12 @@ const SeeDataset = observer((props: ISeeDatasetProps) => {
<div className={style.screensRight}> <div className={style.screensRight}>
<MySelect <MySelect
options={dataTypes} options={dataTypes}
title="选择属性" title={dataTypes.length === 0 ? "暂无属性" : "选择属性"}
isTitle={true} isTitle={true}
value={searchDataType} value={searchDataType}
onChange={handleSearchDataTypeChange} onChange={handleSearchDataTypeChange}
fullWidth={false} fullWidth={false}
disabled={dataTypes.length === 0}
sx={{ sx={{
width: "160px", width: "160px",
marginRight: "16px", marginRight: "16px",
...@@ -269,8 +271,8 @@ const SeeDataset = observer((props: ISeeDatasetProps) => { ...@@ -269,8 +271,8 @@ const SeeDataset = observer((props: ISeeDatasetProps) => {
sx={{ sx={{
width: "340px", width: "340px",
marginRight: "16px", marginRight: "16px",
height: "32px",
}} }}
size="small"
></MyInput> ></MyInput>
<MyButton <MyButton
text="确认" text="确认"
......
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