+ [task#135735] add monitor setting.

This commit is contained in:
zhangxiquan
2025-01-06 16:14:10 +08:00
committed by 翟晓剑
parent 3ba682ef51
commit d6bdcb7a18
10 changed files with 302 additions and 11 deletions
+8 -1
View File
@@ -115,7 +115,14 @@ div
div
(
$instance->name, setClass('text-xl'),
$type === 'store' ? span($instance->appVersion, setClass('ml-3 label gray-pale rounded-full')) : null
$type === 'store' ? span($instance->appVersion, setClass('ml-3 label gray-pale rounded-full')) : null,
$type === 'store' && isset($monitor) ?
span
(
set::title($monitor['tips']),
icon('icon icon-info'),
setClass('ml-3 label ' . $monitor['class'] . ' rounded-full')
) : null
),
$type === 'store' ? div
(