mirror of
https://gitee.com/wanwujie/sub2api
synced 2026-04-17 05:14:46 +08:00
Revert "fix: 并发/排队面板支持 platform/group 过滤"
This reverts commit 86e600aa52.
This commit is contained in:
@@ -265,7 +265,7 @@ async function loadData() {
|
||||
try {
|
||||
if (showByUser.value) {
|
||||
// 用户视图模式只加载用户并发数据
|
||||
const userData = await opsAPI.getUserConcurrencyStats(props.platformFilter, props.groupIdFilter)
|
||||
const userData = await opsAPI.getUserConcurrencyStats()
|
||||
userConcurrency.value = userData
|
||||
} else {
|
||||
// 常规模式加载账号/平台/分组数据
|
||||
@@ -301,14 +301,6 @@ watch(
|
||||
}
|
||||
)
|
||||
|
||||
// 过滤条件变化时重新加载数据
|
||||
watch(
|
||||
[() => props.platformFilter, () => props.groupIdFilter],
|
||||
() => {
|
||||
loadData()
|
||||
}
|
||||
)
|
||||
|
||||
function getLoadBarClass(loadPct: number): string {
|
||||
if (loadPct >= 90) return 'bg-red-500 dark:bg-red-600'
|
||||
if (loadPct >= 70) return 'bg-orange-500 dark:bg-orange-600'
|
||||
|
||||
Reference in New Issue
Block a user