style: lint code
parent
41324dc1e3
commit
2c2726c827
|
@ -4,7 +4,6 @@ import {
|
|||
onBeforeUnmount,
|
||||
onMounted,
|
||||
onUpdated,
|
||||
Ref,
|
||||
ref,
|
||||
Text,
|
||||
watch,
|
||||
|
@ -18,7 +17,7 @@ import useConfigInject from '../_util/hooks/useConfigInject';
|
|||
import devWarning from '../vc-util/devWarning';
|
||||
|
||||
import type { ButtonType } from './buttonTypes';
|
||||
import type { VNode } from 'vue';
|
||||
import type { VNode, Ref } from 'vue';
|
||||
|
||||
type Loading = boolean | number;
|
||||
|
||||
|
|
|
@ -3,7 +3,8 @@ import { defineComponent } from 'vue';
|
|||
import PropTypes from '../_util/vue-types';
|
||||
import Button from '../button';
|
||||
import BaseMixin from '../_util/BaseMixin';
|
||||
import { convertLegacyProps, LegacyButtonType } from '../button/buttonTypes';
|
||||
import type { LegacyButtonType } from '../button/buttonTypes';
|
||||
import { convertLegacyProps } from '../button/buttonTypes';
|
||||
import { getSlot, findDOMNode } from '../_util/props-util';
|
||||
|
||||
const ActionButtonProps = {
|
||||
|
|
|
@ -7,11 +7,8 @@ import addEventListener from '../vc-util/Dom/addEventListener';
|
|||
import { getConfirmLocale } from './locale';
|
||||
import CloseOutlined from '@ant-design/icons-vue/CloseOutlined';
|
||||
import Button from '../button';
|
||||
import buttonTypes, {
|
||||
ButtonProps as ButtonPropsType,
|
||||
convertLegacyProps,
|
||||
LegacyButtonType,
|
||||
} from '../button/buttonTypes';
|
||||
import type { ButtonProps as ButtonPropsType, LegacyButtonType } from '../button/buttonTypes';
|
||||
import buttonTypes, { convertLegacyProps } from '../button/buttonTypes';
|
||||
import LocaleReceiver from '../locale-provider/LocaleReceiver';
|
||||
import { getComponent, getSlot } from '../_util/props-util';
|
||||
import initDefaultProps from '../_util/props-util/initDefaultProps';
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
import omit from 'omit.js';
|
||||
import { defineComponent, inject, PropType } from 'vue';
|
||||
import type { PropType } from 'vue';
|
||||
import { defineComponent, inject } from 'vue';
|
||||
import Tooltip from '../tooltip';
|
||||
import abstractTooltipProps from '../tooltip/abstractTooltipProps';
|
||||
import PropTypes from '../_util/vue-types';
|
||||
import { getOptionProps, hasProp, getComponent, mergeProps } from '../_util/props-util';
|
||||
import BaseMixin from '../_util/BaseMixin';
|
||||
import { LegacyButtonType, convertLegacyProps } from '../button/buttonTypes';
|
||||
import type { LegacyButtonType } from '../button/buttonTypes';
|
||||
import { convertLegacyProps } from '../button/buttonTypes';
|
||||
import ExclamationCircleFilled from '@ant-design/icons-vue/ExclamationCircleFilled';
|
||||
import Button from '../button';
|
||||
import LocaleReceiver from '../locale-provider/LocaleReceiver';
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import { ExtractPropTypes, VNode, watch } from 'vue';
|
||||
import type { ExtractPropTypes, VNode } from 'vue';
|
||||
import { watch } from 'vue';
|
||||
import { defineComponent, ref, reactive, onMounted } from 'vue';
|
||||
import { initDefaultProps, getPropsSlot, findDOMNode } from '../_util/props-util';
|
||||
import { withInstall } from '../_util/type';
|
||||
|
|
Loading…
Reference in New Issue