From 7e247648201b208cfb5a5901803f784b7dbda948 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 31 七月 2024 01:54:17 +0800 Subject: [PATCH] 1 --- App.vue | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/App.vue b/App.vue index b46206b..c721ede 100644 --- a/App.vue +++ b/App.vue @@ -25,10 +25,17 @@ setTimeout(async () => { const res = await this.$store.dispatch('getCurrentInfo'); // #ifndef PUB_CUSTOMER - if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) { - uni.reLaunch({ - url: '/pages/home/supplier-home' - }) + if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) { + if(this.currentInfo.type==='admin'){ + uni.reLaunch({ + url: '/sub_pages/partner/delivery/delivery-home' + }) + }else{ + uni.reLaunch({ + url: '/pages/home/supplier-home' + }) + } + } else { uni.reLaunch({ url: '/pages/login/supplier-login' @@ -395,7 +402,9 @@ .m-t-15 { margin-top: 30rpx; } - + .p-t-12{ + padding-top: 30rpx; + } .m-t-icon { margin-top: 8rpx; } -- Gitblit v1.9.3