style: remove not use code
parent
722f3f2ebf
commit
728bfe69da
|
@ -5,7 +5,6 @@ import Row from '../row';
|
|||
import Col from '../col';
|
||||
import PropTypes from '../_util/vue-types';
|
||||
import { flattenChildren, isEmptyElement } from '../_util/props-util';
|
||||
import BaseMixin from '../_util/BaseMixin';
|
||||
import type { SizeType } from '../config-provider';
|
||||
import isPlainObject from 'lodash-es/isPlainObject';
|
||||
import useConfigInject from '../_util/hooks/useConfigInject';
|
||||
|
@ -51,7 +50,6 @@ export type CardProps = Partial<ExtractPropTypes<ReturnType<typeof cardProps>>>;
|
|||
|
||||
const Card = defineComponent({
|
||||
name: 'ACard',
|
||||
mixins: [BaseMixin],
|
||||
props: cardProps(),
|
||||
slots: ['title', 'extra', 'tabBarExtraContent', 'actions', 'cover', 'customTab'],
|
||||
setup(props, { slots }) {
|
||||
|
|
|
@ -6,8 +6,6 @@ import EyeOutlined from '@ant-design/icons-vue/EyeOutlined';
|
|||
import EyeInvisibleOutlined from '@ant-design/icons-vue/EyeInvisibleOutlined';
|
||||
import type { InputProps } from './inputProps';
|
||||
import inputProps from './inputProps';
|
||||
import PropTypes from '../_util/vue-types';
|
||||
import BaseMixin from '../_util/BaseMixin';
|
||||
import { computed, defineComponent, ref } from 'vue';
|
||||
import useConfigInject from '../_util/hooks/useConfigInject';
|
||||
import omit from '../_util/omit';
|
||||
|
@ -20,13 +18,12 @@ const defaultIconRender = (visible: boolean) =>
|
|||
visible ? <EyeOutlined /> : <EyeInvisibleOutlined />;
|
||||
export default defineComponent({
|
||||
name: 'AInputPassword',
|
||||
mixins: [BaseMixin],
|
||||
inheritAttrs: false,
|
||||
props: {
|
||||
...inputProps(),
|
||||
prefixCls: String,
|
||||
inputPrefixCls: String,
|
||||
action: PropTypes.string.def('click'),
|
||||
action: { type: String, default: 'click' },
|
||||
visibilityToggle: { type: Boolean, default: true },
|
||||
iconRender: Function,
|
||||
},
|
||||
|
|
|
@ -14,7 +14,6 @@ import classNames from '../_util/classNames';
|
|||
import calculateNodeHeight from './calculateNodeHeight';
|
||||
import raf from '../_util/raf';
|
||||
import warning from '../_util/warning';
|
||||
import BaseMixin from '../_util/BaseMixin';
|
||||
import antInput from '../_util/antInputDirective';
|
||||
import omit from '../_util/omit';
|
||||
import { textAreaProps } from './inputProps';
|
||||
|
@ -25,7 +24,6 @@ const RESIZE_STATUS_RESIZED = 2;
|
|||
|
||||
const ResizableTextArea = defineComponent({
|
||||
name: 'ResizableTextArea',
|
||||
mixins: [BaseMixin],
|
||||
inheritAttrs: false,
|
||||
props: textAreaProps(),
|
||||
setup(props, { attrs, emit, expose }) {
|
||||
|
|
Loading…
Reference in New Issue