* fix(plugin-workflow): fix module import (#1550) * fix(plugin-workflow): fix module import
This commit is contained in:
parent
c86b91c586
commit
060ccd04e7
@ -21,7 +21,7 @@ function appendArrayColumn(scope, key) {
|
||||
|
||||
function replaceNumberIndex(path: string, scope: Scope): string {
|
||||
const segments = path.split('.');
|
||||
const paths = [];
|
||||
const paths: string[] = [];
|
||||
|
||||
for (let i = 0; i < segments.length; i++) {
|
||||
const p = segments[i];
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { cloneDeep } from 'lodash';
|
||||
import { i18n, IField, interfacesProperties } from '@nocobase/client';
|
||||
import evaluators, { Evaluator } from '@nocobase/evaluators/client';
|
||||
import { evaluators, Evaluator } from '@nocobase/evaluators/client';
|
||||
import { Registry } from '@nocobase/utils/client';
|
||||
|
||||
import { NAMESPACE } from './locale';
|
||||
|
@ -3,7 +3,7 @@ import { onFormValuesChange } from '@formily/core';
|
||||
import { useFieldSchema, useFormEffects } from '@formily/react';
|
||||
import cloneDeep from 'lodash/cloneDeep';
|
||||
|
||||
import evaluators, { Evaluator } from '@nocobase/evaluators/client';
|
||||
import { evaluators, Evaluator } from '@nocobase/evaluators/client';
|
||||
import { Registry, toFixedByStep } from '@nocobase/utils/client';
|
||||
import { Checkbox, DatePicker, Input as InputString, InputNumber, useCollection } from '@nocobase/client';
|
||||
|
||||
|
@ -3,7 +3,7 @@ import { i18n } from '@nocobase/client';
|
||||
import { css } from '@emotion/css';
|
||||
|
||||
import { CollectionManagerContext, registerField, SchemaComponentOptions } from '@nocobase/client';
|
||||
import evaluators, { Evaluator } from '@nocobase/evaluators/client';
|
||||
import { evaluators, Evaluator } from '@nocobase/evaluators/client';
|
||||
|
||||
import { Formula } from './formula';
|
||||
import field from './field';
|
||||
|
@ -3,7 +3,7 @@ import { css } from '@emotion/css';
|
||||
import parse from 'json-templates';
|
||||
|
||||
import { SchemaInitializer, SchemaInitializerItemOptions } from '@nocobase/client';
|
||||
import evaluators, { renderReference, Evaluator } from '@nocobase/evaluators/client';
|
||||
import { evaluators, renderReference, Evaluator } from '@nocobase/evaluators/client';
|
||||
|
||||
import { useFlowContext } from '../FlowContext';
|
||||
import { lang, NAMESPACE } from '../locale';
|
||||
|
@ -6,7 +6,7 @@ import { Trans, useTranslation } from "react-i18next";
|
||||
|
||||
import { Registry } from "@nocobase/utils/client";
|
||||
import { Variable, useCompile } from "@nocobase/client";
|
||||
import evaluators, { renderReference } from "@nocobase/evaluators/client";
|
||||
import { evaluators, renderReference } from "@nocobase/evaluators/client";
|
||||
|
||||
import { NodeDefaultView } from ".";
|
||||
import { Branch } from "../Branch";
|
||||
|
Loading…
Reference in New Issue
Block a user