소스 검색

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

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