修复在linux上无法显示负载图表的问题
This commit is contained in:
parent
9d890f6b02
commit
38720806eb
@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
/* @var $this yii\web\View */
|
/* @var $this yii\web\View */
|
||||||
|
|
||||||
/* @var $systemInfo SystemInfoHelper */
|
/* @var $systemInfo SystemInfoHelper */
|
||||||
@ -57,7 +57,7 @@ $this->title = '系统信息';
|
|||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<?php if ($systemInfo->osType === 2): ?>
|
<?php if ($systemInfo->osType === 1): ?>
|
||||||
<div class="col-xxl-6">
|
<div class="col-xxl-6">
|
||||||
<h2>
|
<h2>
|
||||||
<i class="fa-solid fa-bars-progress"></i>
|
<i class="fa-solid fa-bars-progress"></i>
|
||||||
@ -312,8 +312,8 @@ if(needLoadGraph !== null){
|
|||||||
},
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
type: 'value',
|
type: 'value',
|
||||||
min: 0,
|
min: 0
|
||||||
max: 100
|
// max: 100
|
||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
@ -322,7 +322,7 @@ if(needLoadGraph !== null){
|
|||||||
label: {
|
label: {
|
||||||
show: true,
|
show: true,
|
||||||
position: 'top',
|
position: 'top',
|
||||||
formatter: '{c}%'
|
formatter: '{c}'
|
||||||
},
|
},
|
||||||
emphasis: {
|
emphasis: {
|
||||||
label: {
|
label: {
|
||||||
|
Loading…
Reference in New Issue
Block a user