Explorar o código

数据图表版本

zhengjinyi hai 1 ano
pai
achega
8efdef3a8e

+ 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()
     }