This commit is contained in:
杜恒 2021-05-25 10:37:56 +08:00
parent e4ad85875d
commit a6e28f92ec
5 changed files with 7 additions and 6 deletions

View File

@ -156,7 +156,8 @@ document.addEventListener('DOMContentLoaded', () => {
data: ['CPU占用', '内存占用', '系统缓冲', '内存缓冲', '系统负载']
},
yAxis: {
type: 'value'
type: 'value',
max: 100
},
series: {
data: [
@ -201,7 +202,7 @@ document.addEventListener('DOMContentLoaded', () => {
label: {
show: true,
color: '#ffffff',
formatter: params => `${params.data.value} %`
formatter: params => `${params.data.value}%`
},
backgroundStyle: {
color: 'rgba(180, 180, 180, 0.2)'

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
<?php $this->need('public/include.php'); ?>
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.census.min.css'); ?>">
<script src="https://cdn.jsdelivr.net/npm/echarts@5.1.1/dist/echarts.min.js"></script>
<script src="<?php $this->options->themeUrl('assets/js/joe.census.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('assets/js/joe.census.min.js?v=20210525'); ?>"></script>
</head>
<body>

View File

@ -2,7 +2,7 @@
/* 获取主题当前版本号 */
function _getVersion()
{
return "7.1.3";
return "7.1.4";
};
/* 判断是否是手机 */

View File

@ -1,6 +1,6 @@
{
"name": "typecho-joe-next",
"version": "7.1.3",
"version": "7.1.4",
"description": "A Theme Of Typecho",
"main": "index.php",
"keywords": [