Browse Source

修改

master
vee 4 years ago
parent
commit
811317343e
  1. 3
      pages.json
  2. 14
      pages/menu/collection/index.vue

3
pages.json

@ -67,8 +67,7 @@
{ {
"path": "pages/menu/collection/index", "path": "pages/menu/collection/index",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom"
"enablePullDownRefresh": true
} }
}, },

14
pages/menu/collection/index.vue

@ -96,13 +96,13 @@
}, },
onPullDownRefresh() { // onPullDownRefresh() {
console.log('refresh'); // console.log('refresh');
this.getCollection(); // this.getCollection();
setTimeout(function() { // setTimeout(function() {
uni.stopPullDownRefresh(); // uni.stopPullDownRefresh();
}, 500); // }, 500);
}, // },
methods: { methods: {
showMsg(item,index){ showMsg(item,index){
this.test=item this.test=item

Loading…
Cancel
Save