|
@@ -53,12 +53,20 @@
|
|
|
},
|
|
},
|
|
|
onPullDownRefresh() {
|
|
onPullDownRefresh() {
|
|
|
// console.log('refresh');
|
|
// console.log('refresh');
|
|
|
|
|
+ console.log(this.pageCurrent);
|
|
|
if (this.pageCurrent == 'workTable') {
|
|
if (this.pageCurrent == 'workTable') {
|
|
|
this.$refs['workTableRef'].pullDownRefresh();
|
|
this.$refs['workTableRef'].pullDownRefresh();
|
|
|
setTimeout(function () {
|
|
setTimeout(function () {
|
|
|
uni.stopPullDownRefresh();
|
|
uni.stopPullDownRefresh();
|
|
|
}, 1000);
|
|
}, 1000);
|
|
|
|
|
+ }else {
|
|
|
|
|
+ if (this.pageCurrent == 'me') {
|
|
|
|
|
+ setTimeout(function () {
|
|
|
|
|
+ uni.stopPullDownRefresh();
|
|
|
|
|
+ }, 500);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
|