From 70c25399ae6df0d8511a8b93b948ec085fef09d1 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Tue, 14 Jun 2022 16:39:29 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E4=BD=BF=E7=94=A8=E5=8D=8F=E8=AE=AE=E6=96=B0?= =?UTF-8?q?=E5=BC=80=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/repo/create.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"}} From 10149225bafec0e227887a02285fd944a109909b Mon Sep 17 00:00:00 2001 From: Gitea Date: Tue, 14 Jun 2022 17:15:17 +0800 Subject: [PATCH 2/3] fix issue --- web_src/js/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web_src/js/index.js b/web_src/js/index.js index a6645d7cd..11bb9835d 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); From de635ae6892593314a87dc95fa23c6b04e26f3ce Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Tue, 14 Jun 2022 17:22:53 +0800 Subject: [PATCH 3/3] fix issue --- templates/repo/datasets/index.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/datasets/index.tmpl b/templates/repo/datasets/index.tmpl index 9a8f2aaea..7629d4bdc 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;