he2802 hace 4 años
padre
commit
bf9dad611f
Se han modificado 3 ficheros con 13 adiciones y 3 borrados
  1. 4 1
      components/home.vue
  2. 5 1
      components/my.vue
  3. 4 1
      components/recruitment.vue

+ 4 - 1
components/home.vue

@@ -244,10 +244,13 @@ export default {
 			this.triggered = true
 		},
 		refresher(){
+			let that = this
 			this.initList();
 			this.advertisingList();
 			this.initCateList();
-			this.triggered = false
+			setTimeout(function(){
+				that.triggered = false
+			},500)
 		},
 		restore(){
 			this.triggered = false

+ 5 - 1
components/my.vue

@@ -165,8 +165,12 @@ export default {
 			this.triggered = true
 		},
 		refresher(){
+			let that = this
 			this.init()
-			this.triggered = false
+			setTimeout(function(){
+				that.triggered = false
+			},500)
+			
 		},
 		restore(){
 			this.triggered = false

+ 4 - 1
components/recruitment.vue

@@ -255,10 +255,13 @@ export default {
 			this.triggered = true;
 		},
 		refresher() {
+			let that = this
 			this.inits();
 			this.getDict();
 			this.advertisingList();
-			this.triggered = false;
+			setTimeout(function(){
+				that.triggered = false
+			},500)
 		},
 		restore() {
 			this.triggered = false;