瀏覽代碼

修改产品详情页面接口传参问题

shaun-sheep 5 年之前
父節點
當前提交
7b8467511a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/product/detail/sagaProductDetail.vue

+ 1 - 1
src/components/product/detail/sagaProductDetail.vue

@@ -164,7 +164,7 @@
           GroupId: this.dictionary.groupId,
           Type: this.dictionary.dictionaryType,
           ProjectId: this.dictionary.projectId,
-          Filters: `prodCode='${this.$route.params.code}'`
+          Filters: `prodCode='${this.$route.query.code}'`
         }
         prodTypeQuery(params, res => {
           this.total = res.Total