xsh 3 anni fa
parent
commit
6fc79c89e6

+ 1 - 1
src/views/pastureData/homeComponent/city.vue

@@ -217,7 +217,7 @@ export default {
       this.pageNum = val;
     },
     search() {
-      this.init();
+      this.initCity();
     },
     renderHeader(createElement, {column}) {
       const label = column.label

+ 1 - 1
src/views/pastureData/homeComponent/district.vue

@@ -201,7 +201,7 @@ export default {
       this.pageNum = val;
     },
     search() {
-      this.init();
+      this.initCounty();
     },
     renderHeader(createElement, {column}) {
       const label = column.label

+ 1 - 0
src/views/pastureData/homeComponent/farm.vue

@@ -232,6 +232,7 @@ export default {
     },
     search() {
       // this.init();
+      this.onFarm();
     },
     renderHeader(createElement, {column}) {
       const label = column.label