fix(plugin-workflow): add missed component (#3007)

This commit is contained in:
Junyi 2023-11-09 20:40:27 +08:00 committed by GitHub
parent e73ad1b98b
commit 61d14309ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ import { ArrayItems } from '@formily/antd-v5';
import { defaultFieldNames } from '@nocobase/client'; import { defaultFieldNames } from '@nocobase/client';
import { NAMESPACE } from '../locale'; import { NAMESPACE } from '../locale';
import { WorkflowVariableInput } from '../variable'; import { WorkflowVariableInput, WorkflowVariableJSON } from '../variable';
export default { export default {
title: `{{t("HTTP request", { ns: "${NAMESPACE}" })}}`, title: `{{t("HTTP request", { ns: "${NAMESPACE}" })}}`,
@ -172,6 +172,7 @@ export default {
components: { components: {
ArrayItems, ArrayItems,
WorkflowVariableInput, WorkflowVariableInput,
WorkflowVariableJSON,
}, },
useVariables({ key, title }, { types, fieldNames = defaultFieldNames }) { useVariables({ key, title }, { types, fieldNames = defaultFieldNames }) {
return { return {