File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import type { CSSProperties, ExtractPropTypes } from 'vue';
3
3
import { defineComponent } from 'vue' ;
4
4
import type { EventHandler } from '../_util/EventInterface' ;
5
5
import classNames from '../_util/classNames' ;
6
- import warning from '../_util/warning' ;
7
6
import type { VueNode } from '../_util/type' ;
8
7
import { booleanType , stringType , functionType } from '../_util/type' ;
9
8
import type { StepIconRender , Status } from './interface' ;
@@ -52,13 +51,13 @@ export default defineComponent({
52
51
emit ( 'click' , e ) ;
53
52
emit ( 'stepClick' , props . stepIndex ) ;
54
53
} ;
55
- if ( props . __legacy !== false ) {
56
- warning (
57
- false ,
58
- 'Steps' ,
59
- 'Step is deprecated, and not support inline type. Please use `items` directly. ' ,
60
- ) ;
61
- }
54
+ // if (props.__legacy !== false) {
55
+ // warning(
56
+ // false,
57
+ // 'Steps',
58
+ // 'Step is deprecated, and not support inline type. Please use `items` directly. ',
59
+ // );
60
+ // }
62
61
const renderIconNode = ( { icon, title, description } ) => {
63
62
const {
64
63
prefixCls,
You can’t perform that action at this time.
0 commit comments