Browse Source

no message

DaMowang 3 years ago
parent
commit
7c74d4ce58
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/pages/product/p_details.vue

+ 2 - 2
src/pages/product/p_details.vue

@@ -341,9 +341,9 @@ export default {
   },
   onShareAppMessage: function () {
     let userinfo = uni.getStorageSync("userinfo");
-    var path = "/pages/product/p_details?agentId=1" + '&id=' + this.goodsDa.id + '&type=' + this.goodsDa.id.type;
+    var path = "/pages/product/p_details?agentId=1" + '&id=' + this.goodsDa.id + '&type=' + this.goodsDa.type;
     if (userinfo.user_id) {
-      path = "/pages/product/p_details?agentId=" + userinfo.user_id + '&id=' + this.goodsDa.id + '&type=' + this.goodsDa.id.type;
+      path = "/pages/product/p_details?agentId=" + userinfo.user_id + '&id=' + this.goodsDa.id + '&type=' + this.goodsDa.type;
     }
     var title = `让数字经济赋能美好生活!`;
     return {