From 83a766a7b07cd0617bcf728acfbe95c8784b36c5 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期日, 04 八月 2024 16:56:49 +0800 Subject: [PATCH] 1 --- pages/login/supplier-login.vue | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pages/login/supplier-login.vue b/pages/login/supplier-login.vue index f7c1619..d1d069f 100644 --- a/pages/login/supplier-login.vue +++ b/pages/login/supplier-login.vue @@ -308,8 +308,7 @@ }, onShareAppMessage() { let that = this; - var name = that.currentInfo.customerDTO && currentInfo.customerDTO.name || that.currentInfo.supplierDTO && - currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && currentInfo.partnerDTO.name || '' + var name = that.currentInfo.customerDTO&&that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO&&that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO&&that.currentInfo.partnerDTO.name || '' var url = `/pages/login/supplier-login?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 return { @@ -319,8 +318,7 @@ }, onShareTimeline() { let that = this; - var name = that.currentInfo.customerDTO && currentInfo.customerDTO.name || that.currentInfo.supplierDTO && - currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && currentInfo.partnerDTO.name || '' + var name = that.currentInfo.customerDTO&&that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO&&that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO&&that.currentInfo.partnerDTO.name || '' var url = `/pages/login/supplier-login?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 return { @@ -527,7 +525,7 @@ // uni.navigateBack(); // }, 1000); - //todo 登录后可能需要进行绑定 + } else { // uni.showToast({ -- Gitblit v1.9.3