shish 3 лет назад
Родитель
Сommit
9d6a133222
1 измененных файлов с 2 добавлено и 1 удалено
  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