Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
c8e3a476
Commit
c8e3a476
authored
Jan 11, 2026
by
IanShaw027
Browse files
feat(ops): 限制告警规则最多显示6个,超出可滚动
parent
808cee96
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/admin/ops/components/OpsAlertRulesCard.vue
View file @
c8e3a476
...
@@ -429,10 +429,10 @@ function cancelDelete() {
...
@@ -429,10 +429,10 @@ function cancelDelete() {
{{
t
(
'
admin.ops.alertRules.empty
'
)
}}
{{
t
(
'
admin.ops.alertRules.empty
'
)
}}
</div>
</div>
<div
v-else
class=
"overflow-hidden rounded-xl border border-gray-200 dark:border-dark-700"
>
<div
v-else
class=
"
max-h-[520px]
overflow-hidden rounded-xl border border-gray-200 dark:border-dark-700"
>
<div
class=
"overflow-
x
-auto"
>
<div
class=
"
max-h-[520px]
overflow-
y
-auto"
>
<table
class=
"min-w-full divide-y divide-gray-200 dark:divide-dark-700"
>
<table
class=
"min-w-full divide-y divide-gray-200 dark:divide-dark-700"
>
<thead
class=
"bg-gray-50 dark:bg-dark-900"
>
<thead
class=
"
sticky top-0 z-10
bg-gray-50 dark:bg-dark-900"
>
<tr>
<tr>
<th
class=
"px-4 py-3 text-left text-[11px] font-bold uppercase tracking-wider text-gray-500 dark:text-gray-400"
>
<th
class=
"px-4 py-3 text-left text-[11px] font-bold uppercase tracking-wider text-gray-500 dark:text-gray-400"
>
{{
t
(
'
admin.ops.alertRules.table.name
'
)
}}
{{
t
(
'
admin.ops.alertRules.table.name
'
)
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment