From e634342f37fa1c036d7ad4287066d0fa0eb199e1 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期一, 05 八月 2024 10:05:14 +0800 Subject: [PATCH] 1 --- pages/home/supplier-home.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pages/home/supplier-home.vue b/pages/home/supplier-home.vue index 6eee11a..ace7e77 100644 --- a/pages/home/supplier-home.vue +++ b/pages/home/supplier-home.vue @@ -206,8 +206,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 { @@ -217,8 +216,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 { -- Gitblit v1.9.3