diff --git a/layout/vPaging.vue b/layout/vPaging.vue index 337f76f..80ad376 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 09a97a3..f846a34 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,