fix(frontend): 修复后台页面 lint 校验问题
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user