fix: 修复只读模式下表单tab页出现保存按钮的bug

fix: 根据新UI规范略微调整样式
This commit is contained in:
gaoyunqi
2024-04-22 09:05:36 +08:00
parent 7f6c829114
commit 8b0174ddb9
5 changed files with 8 additions and 8 deletions

View File

@ -389,7 +389,7 @@
<style lang="less" scoped>
.toolbar-defined {
:deep(.ant-btn) {
margin-left: 5px;
margin-left: 8px;
}
}

View File

@ -8,7 +8,7 @@
</slot>
关闭
</a-button>
<a-button v-if="mode != 'read'" type="primary" @click="handleSubmit">
<a-button v-if="mode != 'view'" type="primary" @click="handleSubmit">
<slot name="icon">
<check-circle-outlined />
</slot>
@ -134,8 +134,8 @@ async function saveModal() {
}
.top-toolbar {
min-height: 40px;
margin-bottom: 8px;
min-height: 44px;
margin-bottom: 12px;
border-bottom: 1px solid #eee;
}
</style>