From 8f4cf4372857abc7c819c8c76089db2c94fe324b Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 28 四月 2026 21:40:42 +0800
Subject: [PATCH] 小程序改bug
---
small-program/pages/storage-point/storage-point.vue | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/small-program/pages/storage-point/storage-point.vue b/small-program/pages/storage-point/storage-point.vue
index cf7e92b..c45169e 100644
--- a/small-program/pages/storage-point/storage-point.vue
+++ b/small-program/pages/storage-point/storage-point.vue
@@ -134,6 +134,7 @@
</view>
</view>
</view>
+ <auth-login v-if="showLogin" @close="showLogin = false"></auth-login>
</view>
</template>
@@ -181,11 +182,12 @@
]
},
pointList: [],
- isRequest: true
+ isRequest: true,
+ showLogin: false
}
},
computed: {
- ...mapState(['latitude', 'longitude', 'cityId']),
+ ...mapState(['latitude', 'longitude', 'cityId', 'token']),
filterLabels() {
return {
sortType: this.getFilterLabel('sortType'),
@@ -378,6 +380,10 @@
})
},
storeLuggage() {
+ if (!this.token) {
+ this.showLogin = true
+ return
+ }
uni.navigateTo({
url: '/pages/luggage-storage/luggage-storage'
})
--
Gitblit v1.9.3