From 2d14c42c9cfef3002eeabd0e76d6020664b92c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E4=BC=9F=E5=BD=AC?= Date: Fri, 3 Nov 2023 15:30:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=96=E6=B6=88=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E5=90=8E=E8=87=AA=E5=8A=A8=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 2 +- src/components/Form/src/types/form.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e773ddf7e..a684cfb27 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -65,7 +65,7 @@ "editor.formatOnSave": false, "editor.codeActionsOnSave": { "source.fixAll": "explicit", - "source.organizeImports": "never" + "source.organizeImports": false }, "eslint.rules.customizations": [ { "rule": "style/*", "severity": "off" }, diff --git a/src/components/Form/src/types/form.ts b/src/components/Form/src/types/form.ts index 8690d722e..b852298a8 100644 --- a/src/components/Form/src/types/form.ts +++ b/src/components/Form/src/types/form.ts @@ -1,10 +1,10 @@ -import type { ButtonProps as AntdButtonProps } from '@/components/Button' -import type { TableActionType } from '@/components/Table/src/types/table' import type { NamePath, RuleObject } from 'ant-design-vue/lib/form/interface' -import type { RowProps } from 'ant-design-vue/lib/grid/Row' import type { CSSProperties, VNode } from 'vue' +import type { RowProps } from 'ant-design-vue/lib/grid/Row' import type { FormItem } from './formItem' import type { ColEx, ComponentType } from './index' +import type { ButtonProps as AntdButtonProps } from '@/components/Button' +import type { TableActionType } from '@/components/Table/src/types/table' export type FieldMapToTime = [string, [string, string], (string | [string, string])?][] @@ -267,7 +267,7 @@ export interface HelpComponentProps { export interface InputAttribute { // 输入框默认输入的最大长度 - maxlength?: number | string, + maxlength?: number // 是否显示输入的最大长度 showCount?: boolean -} \ No newline at end of file +}