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