Browse Source

fix tab search

wjj 4 years ago
parent
commit
ecca617da6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/pages/Square/Square2.0.vue

+ 2 - 2
src/pages/Square/Square2.0.vue

@@ -110,7 +110,6 @@
         this.$router.push('/home');
       },
       handleTabClick(tab){
-          console.log("handleTabClick ");
         this.currTab = tab.name
         this.activePage = 1;
         this.searchVal = '';
@@ -132,7 +131,8 @@
         this.searchType = tab.name;
         this.currTab = tab.name;
         this.activePage = 1;
-        this.$refs.searchInput.focus()
+        this.$refs.searchInput.focus();
+        this.searchData();
       },
 
       loadData(){