Răsfoiți Sursa

商品详情

shish 3 ani în urmă
părinte
comite
9d6a133222
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      hdApp/src/admin/ghsProduct/detail.vue

+ 2 - 1
hdApp/src/admin/ghsProduct/detail.vue

@@ -156,7 +156,8 @@ export default {
     },
     productDetail(id,shopId){
       let that = this
-      getGhsProductDetail({ id: id}).then(res => {
+      let ghsId = this.option.ghsId ? this.option.ghsId : 0
+      getGhsProductDetail({ id: id,ghsId:ghsId}).then(res => {
         if (!this.$util.isEmpty(res.data)){
 
           this.productInfo = res.data