From e3fbe0749748e6cdee4a53b511f6e494be16a49d Mon Sep 17 00:00:00 2001 From: Leo <98382335+gaoziman@users.noreply.github.com> Date: Sun, 6 Jul 2025 02:37:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(views):=20=E4=BC=98=E5=8C=96=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=A1=B5=E9=9D=A2=E5=92=8C=E7=94=A8=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 登录页面改进 - 更新API导入路径,适配新的模块化结构 - 优化登录逻辑和错误处理 * 用户管理页面优化 - 简化组件生命周期管理代码 - 移除冗余的isComponentMounted检查 - 保留必要的资源清理(定时器、Blob URLs) - 重新组织代码结构,template在最前面 * 提升页面性能和可维护性 - 减少不必要的复杂度 - 保持良好的资源管理实践 改善开发体验和运行时性能 --- src/views/login/components/Login/index.vue | 2 +- src/views/system/user/index.vue | 180 +++++++++++++-------- 2 files changed, 110 insertions(+), 72 deletions(-) diff --git a/src/views/login/components/Login/index.vue b/src/views/login/components/Login/index.vue index a9b21a0..391be52 100644 --- a/src/views/login/components/Login/index.vue +++ b/src/views/login/components/Login/index.vue @@ -1,7 +1,7 @@