diff --git a/layout/vPaging.vue b/layout/vPaging.vue index 337f76f..b678b9b 100644 --- a/layout/vPaging.vue +++ b/layout/vPaging.vue @@ -58,6 +58,13 @@ export default { }); }, }, + watch:{ + '$route' (to, from){ + if(to.query.coin_name){ + this.getList() + } + } + }, created() {}, }; \ No newline at end of file diff --git a/pages/assets/bill.vue b/pages/assets/bill.vue index ca5b6cc..c448446 100644 --- a/pages/assets/bill.vue +++ b/pages/assets/bill.vue @@ -68,6 +68,14 @@ export default { }, ...mapGetters(['themeStyle']) }, + watch:{ + '$route' (to, from){ + if(to.query.coin_name){ + this.query.coin_name = to.query.coin_name + this.appTokenAssets(); + } + } + }, methods: { omitTo:math.omitTo, parseTime: date.parseTime, diff --git a/wxcomponents/vant/search/index.vue b/wxcomponents/vant/search/index.vue index 22eb900..a2ecaf5 100644 --- a/wxcomponents/vant/search/index.vue +++ b/wxcomponents/vant/search/index.vue @@ -48,7 +48,7 @@ VantComponent({ placeholderStyle: String, actionText: { type: String, - value: i18n.t('common.cancel'), + value: 'Cancel', }, background: { type: String,