fix(admin): 用户管理页面优化,增加服务器端分页,避免拉全量用户数据,同时修复一些bug

This commit is contained in:
sophie committed 2026-06-17 09:47:14 +08:00
1 parent 950d661b4f
commit 6f9c25bb34
12 files changed
+816 -70

No files matched your search

+16 -2
View File
@@ -1,17 +1,31 @@
{
// 后端 Python 虚拟环境:新终端自动激活,无需手动 .venv\Scripts\activate
// 后端 Python 虚拟环境
"python.defaultInterpreterPath": "${workspaceFolder}/backend/.venv/Scripts/python.exe",
"python.terminal.activateEnvironment": true,
"python.venvPath": "${workspaceFolder}/backend",
"python.venvFolders": [".venv"],
// 可选:在终端下拉中选择「HXOPS Backend」时,直接进入 backend 并激活 venv
// 默认终端:加载 cd 钩子,进入 backend 时自动激活 .venv
"terminal.integrated.defaultProfile.windows": "PowerShell (HXOPS)",
"terminal.integrated.profiles.windows": {
"PowerShell (HXOPS)": {
"source": "PowerShell",
"icon": "terminal-powershell",
"args": [
"-NoExit",
"-ExecutionPolicy",
"Bypass",
"-File",
"${workspaceFolder}/scripts/powershell-backend-auto-venv.ps1"
]
},
"HXOPS Backend": {
"source": "PowerShell",
"icon": "server-environment",
"args": [
"-NoExit",
"-ExecutionPolicy",
"Bypass",
"-Command",
"Set-Location '${workspaceFolder}/backend'; if (Test-Path '.venv/Scripts/Activate.ps1') { . '.venv/Scripts/Activate.ps1' }"
]