Explorar o código

fix tab search

wjj %!s(int64=4) %!d(string=hai) anos
pai
achega
ecca617da6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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(){