|
@@ -471,7 +471,7 @@ const List = (editType) => {
|
|
|
},
|
|
|
renderCell: (item, rowId, columnId) => {
|
|
|
if (rowId == editRowId && editType.edit == "true" && editColumnId == columnId) {
|
|
|
- return <Select style={{ width: "calc(100% - 70px)" }} appearance="underline" autoFocus onChange={(e) => {
|
|
|
+ return <Select style={{ width: "100%" }} appearance="underline" autoFocus onChange={(e) => {
|
|
|
item.性别.label = e.target.value;
|
|
|
}} onBlur={() => {
|
|
|
setEditRowId(-1);
|
|
@@ -527,7 +527,7 @@ const List = (editType) => {
|
|
|
},
|
|
|
renderCell: (item, rowId, columnId) => {
|
|
|
if (rowId == editRowId && editType.edit == "true" && editColumnId == columnId) {
|
|
|
- return <Input type="date" defaultValue={item.最后在线时间.label} appearance="underline" autoFocus onChange={(e) => {
|
|
|
+ return <Input type="date" defaultValue={item.最后在线时间.label} appearance="underline" autoFocus onChange={(e) => {
|
|
|
item.最后在线时间.label = e.target.value;
|
|
|
}} onBlur={() => {
|
|
|
setEditRowId(-1);
|
|
@@ -556,8 +556,8 @@ const List = (editType) => {
|
|
|
defaultWidth: 120,
|
|
|
},
|
|
|
性别: {
|
|
|
- minWidth: 150,
|
|
|
- defaultWidth: 150,
|
|
|
+ minWidth: 120,
|
|
|
+ defaultWidth: 120,
|
|
|
},
|
|
|
年龄: {
|
|
|
minWidth: 120,
|