refactor(plugin-workflow): show header of manual drawer (#3085)

This commit is contained in:
Junyi 2023-11-24 11:28:36 +08:00 committed by GitHub
parent 771ebaaaec
commit 2630f25e51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ import {
SchemaInitializerProvider,
SchemaSettings,
VariableScopeProvider,
css,
gridRowColWrap,
useCollectionManager,
useCompile,
@ -411,11 +412,15 @@ export function SchemaConfig({ value, onChange }) {
properties: {
drawer: {
type: 'void',
title: '{{t("Configure form")}}',
title: `{{t("User interface", { ns: "${NAMESPACE}" })}}`,
'x-decorator': 'Form',
'x-component': 'Action.Drawer',
'x-component-props': {
className: 'nb-action-popup',
className: css`
.ant-drawer-body {
background: var(--nb-box-bg);
}
`,
},
properties: {
tabs: {