Commit ccf961a3 by zhaochengxiang

模型主键样式调整

parent ce74dbf3
......@@ -318,7 +318,7 @@ const ImportAction = (props) => {
}
if (ownPrimaryKey) {
attribute.nullable = false;
attribute.notNull = true;
}
})
}
......
......@@ -1254,11 +1254,8 @@ const ImportActionTable = (props) => {
if (type==='model' && !isEditing(record)) {
if (record?.needAttention) {
return 'editable-row attention-row';
} else {
const index = (modelerData?.easyDataModelerPrimaryKey||[]).findIndex(item => item.iid===record?.iid);
if (index !== -1) {
return 'editable-row primary-row';
}
} else if (record?.partOfPrimaryKeyLogically) {
return 'editable-row primary-row';
}
}
......
......@@ -25,7 +25,7 @@
.primary-row {
.yy-table-cell {
background-color: #f2fcfe !important;
background-color: #d3ebff !important;
}
}
}
\ No newline at end of file
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