소스 검색

数据图表版本

zhengjinyi 1 년 전
부모
커밋
8efdef3a8e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/static/js/supplier-center/encyclopedia/charts.js

+ 1 - 1
src/main/resources/static/js/supplier-center/encyclopedia/charts.js

@@ -87,7 +87,7 @@ const chartContent = new Vue({
     mounted: function () {
         this.queryParams.shopId = getUrlParam("shopId");
         this.queryParams.marketReportId = getUrlParam("marketReportId") ? getUrlParam("marketReportId") : '';
-        this.queryParams.type = getUrlParam("type") ? getUrlParam("type") : '';
+        this.queryParams.type = getUrlParam("type") ? getUrlParam("type") : 2;
         this.isPreview = getUrlParam("type") !== '1'
         this.openFullScreen2()
     }