From 0ca5df31cb2f6763a3daf513e4903d00db80e09b Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Mon, 10 Mar 2025 15:53:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B5=84=E4=BA=A7=E6=B5=81?= =?UTF-8?q?=E6=B0=B4=E4=B8=8D=E8=83=BD=E5=8F=8A=E6=97=B6=E8=B7=9F=E6=96=B0?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/vPaging.vue | 7 +++++++ pages/assets/bill.vue | 8 ++++++++ 2 files changed, 15 insertions(+) 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,