Quellcode durchsuchen

fix(frontend): 商品详情原生分享补上 setShareInfo - 分享路径带商品ID和邀请码

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Xiaogang Liao vor 1 Monat
Ursprung
Commit
ba6f826859

+ 4 - 0
cfc-frontend/pages/discover-detail/product-detail/product-detail.vue

@@ -162,6 +162,10 @@ export default {
         this.loading = false
         this.loading = false
         if (res.code === 200 && res.data) {
         if (res.code === 200 && res.data) {
           this.product = res.data
           this.product = res.data
+          this.setShareInfo(
+            this.product.name,
+            '/pages/discover-detail/product-detail/product-detail?id=' + this.product.id
+          )
         }
         }
       }).catch(() => {
       }).catch(() => {
         this.loading = false
         this.loading = false