From 7e46c386be5c2cfc20af3936d26839ad3fce44b0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 16 八月 2023 17:40:32 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/components/tabview/index.jsx |   20 ++------------------
 1 files changed, 2 insertions(+), 18 deletions(-)

diff --git a/src/components/tabview/index.jsx b/src/components/tabview/index.jsx
index f34c03f..06635eb 100644
--- a/src/components/tabview/index.jsx
+++ b/src/components/tabview/index.jsx
@@ -1,6 +1,4 @@
 import React, {Component} from 'react'
-import PropTypes from 'prop-types'
-import {connect} from 'react-redux'
 import { fromJS } from 'immutable'
 import {Tabs, BackTop, notification} from 'antd'
 import { RedoOutlined, CloseOutlined } from '@ant-design/icons'
@@ -24,10 +22,6 @@
 moment.locale('zh-cn')
 
 class TabViews extends Component {
-  static propTpyes = {
-    collapse: PropTypes.bool
-  }
-
   state = {
     activeId: '',
     tabviews: [],
@@ -245,7 +239,7 @@
     const { tabviews, activeId } = this.state
 
     return (
-      <section id="mk-tabgroup-wrap" className={'mk-tabview-wrap' + (this.props.collapse ? ' collapsed' : '')}>
+      <section id="mk-tabgroup-wrap" className="mk-tabview-wrap">
         <div className="content-header">
           {tabviews.length > 0 &&
             <Tabs activeKey={activeId}>
@@ -284,14 +278,4 @@
   }
 }
 
-const mapStateToProps = (state) => {
-  return {
-    collapse: state.collapse,
-  }
-}
-
-const mapDispatchToProps = (dispatch) => {
-  return {}
-}
-
-export default connect(mapStateToProps, mapDispatchToProps)(TabViews)
\ No newline at end of file
+export default TabViews
\ No newline at end of file

--
Gitblit v1.8.0