Browse Source

修改切换币种为动态数据、流水不能及时跟新数据

master
liaoxinyu 9 months ago
parent
commit
b5c111a91f
  1. 7
      layout/vPaging.vue
  2. 8
      pages/assets/bill.vue
  3. 2
      wxcomponents/vant/search/index.vue

7
layout/vPaging.vue

@ -58,6 +58,13 @@ export default {
}); });
}, },
}, },
watch:{
'$route' (to, from){
if(to.query.coin_name){
this.getList()
}
}
},
created() {}, created() {},
}; };
</script> </script>

8
pages/assets/bill.vue

@ -68,6 +68,14 @@ export default {
}, },
...mapGetters(['themeStyle']) ...mapGetters(['themeStyle'])
}, },
watch:{
'$route' (to, from){
if(to.query.coin_name){
this.query.coin_name = to.query.coin_name
this.appTokenAssets();
}
}
},
methods: { methods: {
omitTo:math.omitTo, omitTo:math.omitTo,
parseTime: date.parseTime, parseTime: date.parseTime,

2
wxcomponents/vant/search/index.vue

@ -48,7 +48,7 @@ VantComponent({
placeholderStyle: String, placeholderStyle: String,
actionText: { actionText: {
type: String, type: String,
value: i18n.t('common.cancel'), value: 'Cancel',
}, },
background: { background: {
type: String, type: String,

Loading…
Cancel
Save