Pārlūkot izejas kodu

chore:remove log

DaiQiangReal 3 gadi atpakaļ
vecāks
revīzija
18059731af

+ 0 - 1
packages/semi-ui/_cssAnimation/index.tsx

@@ -49,7 +49,6 @@ class CSSAnimation extends React.Component<AnimationProps, AnimationState> {
 
     componentDidUpdate(prevProps: Readonly<AnimationProps>, prevState: Readonly<AnimationState>, snapshot?: any) {
         const changedKeys = Object.keys(this.props).filter(key => !isEqual(this.props[key], prevProps[key]));
-        console.log(changedKeys)
         if (changedKeys.includes("animationState")) {
         }
         if (changedKeys.includes("startClassName") || changedKeys.includes('replayKey') || changedKeys.includes("motion")) {

+ 0 - 2
packages/semi-ui/tabs/TabPane.tsx

@@ -72,7 +72,6 @@ class TabPane extends PureComponent<TabPaneProps> {
             [cssClasses.TABS_PANE]: true,
         });
         const shouldRender = this.shouldRender();
-        console.log(isFirstRender)
         return (
             <div
                 ref={this.ref}
@@ -106,7 +105,6 @@ class TabPane extends PureComponent<TabPaneProps> {
                               })()}>
                     {
                         ({animationClassName, animationEventsNeedBind}) => {
-                            console.log("animationClassName", animationClassName)
                             return <div
                                 className={`${cssClasses.TABS_PANE_MOTION_OVERLAY} ${animationClassName}`}
                                 x-semi-prop="children"