Browse Source

修改

master
vee 4 years ago
parent
commit
e17444968c
  1. 3
      pages.json
  2. 14
      pages/menu/wallet/index.vue

3
pages.json

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

14
pages/menu/wallet/index.vue

@ -116,13 +116,13 @@
}, },
onPullDownRefresh() { // onPullDownRefresh() {
console.log('refresh'); // console.log('refresh');
this.$walletUtil.updateBalance(); // this.$walletUtil.updateBalance();
setTimeout(function() { // setTimeout(function() {
uni.stopPullDownRefresh(); // uni.stopPullDownRefresh();
}, 500); // }, 500);
}, // },
methods: { methods: {
updateData() { updateData() {
let thar = this; let thar = this;

Loading…
Cancel
Save