shish пре 2 година
родитељ
комит
b2bd3f7ab5
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      ghsApp/src/admin/item/detail.vue

+ 2 - 1
ghsApp/src/admin/item/detail.vue

@@ -509,7 +509,8 @@ export default {
       })
       })
     },
     },
     getDetail() {
     getDetail() {
-      return getProductDetail({ id: this.option.id }).then(res => {
+      let source = this.option.source ? this.option.source : ''
+      return getProductDetail({ id: this.option.id,source:source }).then(res => {
         if (this.$util.isEmpty(res.data)) {
         if (this.$util.isEmpty(res.data)) {
           return;
           return;
         }
         }