diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 6b9e5c877..773f398f2 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -155,7 +155,8 @@ + {{.i18n.Tr "repo.openi_use_agreement"}} diff --git a/templates/repo/datasets/index.tmpl b/templates/repo/datasets/index.tmpl index 178253199..22ee1f4c6 100755 --- a/templates/repo/datasets/index.tmpl +++ b/templates/repo/datasets/index.tmpl @@ -11,7 +11,7 @@ .dataset_title { font-size: 14px; - max-width: 80%; + /* max-width: 80%; */ display: inline-block !important; margin-left: 6px !important; padding-right: 0 !important; diff --git a/web_src/js/index.js b/web_src/js/index.js index 5a1d4c169..c7d77bdb4 100755 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -5119,8 +5119,7 @@ function initChartsNpu() { name: '时间(min)' }, yAxis: { - min: 0, - max: 100, + show: true, name: '占有率(%)', axisLine: { @@ -5162,7 +5161,7 @@ function initChartsNpu() { return seriesOption }) let xLength = res.MetricsInfo[0].value.length - options.xAxis.data = Array.from({ length: xLength }, (_, index) => index + 1) + options.xAxis.data = Array.from({ length: xLength }, (_, index) => index) options.legend.data = legenData options.series = seriesData options && myCharts.setOption(options);