diff --git a/common/src/main/java/com/jeesite/common/lang/ByteUtils.java b/common/src/main/java/com/jeesite/common/lang/ByteUtils.java index de2d1f1b..cb1b6955 100644 --- a/common/src/main/java/com/jeesite/common/lang/ByteUtils.java +++ b/common/src/main/java/com/jeesite/common/lang/ByteUtils.java @@ -17,6 +17,10 @@ public class ByteUtils { * @return */ public static String formatByteSize(long byteSize) { + + if (byteSize <= -1){ + return String.valueOf(byteSize); + } double size = 1.0 * byteSize; diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index e6fc29f3..07730b0e 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -370,6 +370,7 @@ web: ${adminPath}/login, ${adminPath}/desktop, ${adminPath}/sys/online/count, + ${adminPath}/state/server/rtInfo, ${adminPath}/**/treeData, ${adminPath}/file/**, ${adminPath}/tags/*, diff --git a/modules/core/src/main/resources/views/modules/sys/sysDesktop.html b/modules/core/src/main/resources/views/modules/sys/sysDesktop.html index a51eec5b..79e9801f 100644 --- a/modules/core/src/main/resources/views/modules/sys/sysDesktop.html +++ b/modules/core/src/main/resources/views/modules/sys/sysDesktop.html @@ -10,11 +10,8 @@ CPU 使用率 90% - - -
完成目标 @@ -171,7 +156,6 @@