From 7cd2f1df1528bfb6d0339b0386aa4cd02243d59a Mon Sep 17 00:00:00 2001 From: Amy0104 <97265214+Amy0104@users.noreply.github.com> Date: Tue, 10 May 2022 14:10:46 +0800 Subject: [PATCH] [Fix][UI][V1.0.0-Beta] Fix the problem of packing failure. (#9966) --- dolphinscheduler-ui/src/components/form/types.ts | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/dolphinscheduler-ui/src/components/form/types.ts b/dolphinscheduler-ui/src/components/form/types.ts index 86ff07da31..dfc02c792e 100644 --- a/dolphinscheduler-ui/src/components/form/types.ts +++ b/dolphinscheduler-ui/src/components/form/types.ts @@ -15,14 +15,7 @@ * limitations under the License. */ import { Ref } from 'vue' -import type { - GridProps, - FormProps, - FormItemRule, - FormRules, - SelectOption, - TreeSelectOption -} from 'naive-ui' +import type { GridProps, FormProps, FormItemRule, FormRules } from 'naive-ui' type IType = | 'input' @@ -38,7 +31,9 @@ type IType = | 'custom' | 'multi-condition' -type IOption = SelectOption | TreeSelectOption +interface IOption { + [key: string]: any +} interface IFormItem { showLabel?: boolean