1
xuxy
2024-08-10 12b2c447a6006f99284c4946b3d6f70cbf43280c
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 {
@@ -425,7 +423,7 @@
            }, 1000)
         },
         toHome() {
            uni.redirectTo({
            uni.reLaunch({
               url: '/pages/home/home'
            })
         },
@@ -441,7 +439,7 @@
            })
            // #endif
            // #ifdef PUB_SUPPLIER
            uni.redirectTo({
            uni.reLaunch({
               url: '/pages/login/supplier-reg'
            })
            // #endif
@@ -450,7 +448,7 @@
            // uni.navigateTo({
            //    url: '/sub_pages/customer/customer-info/customer-info' + addstr
            // })
            uni.redirectTo({
            uni.reLaunch({
               url: '/pages/login/supplier-reg'
            })
            // todo 如果是有分享id的,可能需要提前进行绑定
@@ -527,7 +525,7 @@
               //    uni.navigateBack();
               // }, 1000);
               //todo 登录后可能需要进行绑定
            } else {
               // uni.showToast({