Browse Source

修改切换tabbug(3364)

zhangxc 5 years ago
parent
commit
2761c9df9a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/components/PushContainer/index.jsx

+ 2 - 1
src/components/PushContainer/index.jsx

@@ -110,8 +110,9 @@ class PushContainer extends Component {
    * @param {tab组件切换id} id
    */
   handleActiveClick(id) {
+    store.dispatch(allCheckedShowAdmin(false))
     if (id == '2') {
-      document.getElementById("searchTmp").value = ""
+        document.getElementById("searchTmp").value = ""
       // let searchVal = document.getElementById("searchTmp").value
       store.dispatch(initItemList(1,0));
       store.dispatch(getFloderListAll())