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
34aad82a
Commit
34aad82a
authored
Mar 08, 2026
by
kyx236
Browse files
fix(frontend): 修复后台页面 lint 校验问题
parent
0c29468f
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/admin/AccountsView.vue
View file @
34aad82a
...
...
@@ -562,16 +562,17 @@ const resetAutoRefreshCache = () => {
const
isFirstLoad
=
ref
(
true
)
const
load
=
async
()
=>
{
const
requestParams
=
params
as
any
hasPendingListSync
.
value
=
false
resetAutoRefreshCache
()
pendingTodayStatsRefresh
.
value
=
false
if
(
isFirstLoad
.
value
)
{
;(
params
as
any
)
.
lite
=
'
1
'
requestParams
.
lite
=
'
1
'
}
await
baseLoad
()
if
(
isFirstLoad
.
value
)
{
isFirstLoad
.
value
=
false
delete
(
params
as
any
)
.
lite
delete
requestParams
.
lite
}
await
refreshTodayStatsBatch
()
}
...
...
frontend/src/views/admin/DashboardView.vue
View file @
34aad82a
...
...
@@ -552,9 +552,10 @@ const loadDashboardSnapshot = async (includeStats: boolean) => {
appStore
.
showError
(
t
(
'
admin.dashboard.failedToLoad
'
))
console
.
error
(
'
Error loading dashboard snapshot:
'
,
error
)
}
finally
{
if
(
currentSeq
!==
chartLoadSeq
)
return
loading
.
value
=
false
chartsLoading
.
value
=
false
if
(
currentSeq
===
chartLoadSeq
)
{
loading
.
value
=
false
chartsLoading
.
value
=
false
}
}
}
...
...
@@ -575,8 +576,9 @@ const loadUsersTrend = async () => {
console
.
error
(
'
Error loading users trend:
'
,
error
)
userTrend
.
value
=
[]
}
finally
{
if
(
currentSeq
!==
usersTrendLoadSeq
)
return
userTrendLoading
.
value
=
false
if
(
currentSeq
===
usersTrendLoadSeq
)
{
userTrendLoading
.
value
=
false
}
}
}
...
...
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