From 74bcf0374dad94d352b68f10e2e3d6e0ebc2c9dc Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Sun, 07 Apr 2024 12:32:13 +0800
Subject: [PATCH] 1
---
src/page/user/Warehouse.vue | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/page/user/Warehouse.vue b/src/page/user/Warehouse.vue
index ec54536..894987a 100644
--- a/src/page/user/Warehouse.vue
+++ b/src/page/user/Warehouse.vue
@@ -86,6 +86,15 @@
created() {
this.getMoneys();
},
+ mounted(){
+ if(this.$route.query.index=='0'){
+ this.onClick({name:4})
+ }else if(this.$route.query.index=='1'){
+ this.onClick({name:2})
+ }else{
+
+ }
+ },
methods: {
itemClick() {
this.$refs.dataListref.getList(this.activeObj.laber);
@@ -107,6 +116,7 @@
}
},
onClick(e) {
+ console.log(e);
this.active = e.name;
this.activeObj = e;
this.getMoneys();
@@ -159,4 +169,4 @@
// padding: 0.10667rem 0.34667rem;
color: #fff;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3