refactor: 移除数据大屏页面及相关组件,更新滚动容器逻辑与配置

1. 移除dashboard数据大屏页面及全部依赖的图表、统计组件
2. 重构主滚动容器选择逻辑,统一使用getMainScrollEl获取滚动元素
3. 更新配置项,添加TRUSTED_PROXY_HOPS与IP2REGION相关配置
4. 替换IP归属地查询为离线本地解析,移除相关HTTP请求配置
5. 简化OAuth与微信小程序登录的background_tasks参数传递
6. 修复系统参数描述与前端提示文案,更新alembic版本清理逻辑
7. 简化页面滚动重置逻辑,过滤隐藏标签页
This commit is contained in:
zhangtao
2026-09-12 01:16:03 +08:00
parent 8b63042ecf
commit 8d7efb6c58
56 changed files with 224 additions and 4640 deletions
@@ -19,7 +19,7 @@
</template>
<script setup lang="ts">
import { useCommon } from "@/hooks/core/useCommon";
import { getMainScrollEl, useCommon } from "@/hooks/core/useCommon";
defineOptions({ name: "FaBackToTop" });
@@ -29,8 +29,7 @@ const showButton = ref(false);
const scrollThreshold = 300;
onMounted(() => {
const scrollContainer =
document.getElementById("app-scroll-main") ?? document.getElementById("app-main");
const scrollContainer = getMainScrollEl();
if (scrollContainer) {
const { y } = useScroll(scrollContainer);
watch(y, (newY: number) => {