浏览代码

修改切换tabbug(3364)

zhangxc 5 年之前
父节点
当前提交
2761c9df9a
共有 1 个文件被更改,包括 2 次插入1 次删除
  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
    * @param {tab组件切换id} id
    */
    */
   handleActiveClick(id) {
   handleActiveClick(id) {
+    store.dispatch(allCheckedShowAdmin(false))
     if (id == '2') {
     if (id == '2') {
-      document.getElementById("searchTmp").value = ""
+        document.getElementById("searchTmp").value = ""
       // let searchVal = document.getElementById("searchTmp").value
       // let searchVal = document.getElementById("searchTmp").value
       store.dispatch(initItemList(1,0));
       store.dispatch(initItemList(1,0));
       store.dispatch(getFloderListAll())
       store.dispatch(getFloderListAll())