From 695884a1aa3966081468ffc6d3b483ecea256613 Mon Sep 17 00:00:00 2001 From: lyt <1105290566@qq.com> Date: Wed, 27 Apr 2022 19:29:31 +0800 Subject: [PATCH] =?UTF-8?q?'admin-22.04.27:=E4=BF=AE=E5=A4=8D=E5=85=A8?= =?UTF-8?q?=E5=B1=80=E4=BF=AE=E6=94=B9=E7=BB=84=E4=BB=B6=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E5=A4=B1=E6=95=88=E4=BA=86'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + src/utils/other.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 589f7b9..d10e1b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ - 🐞 修复 [.eslintrc.js 文件 rules 标签名错误 #I53IPK](https://gitee.com/lyt-top/vue-next-admin/issues/I53IPK),感谢[yuyong1566](https://gitee.com/yuyong1566) - 🐞 修复 `开启 Tagsview 图标` 时,`tagsView 右键菜单关闭` 报错问题 - 🐞 修复 `router.push` 路径找不到时报错问题,`404、401 界面` 已移入到 `main` 主布局里(之前全屏) +- 🐞 修复 [全局修改组件大小失效了](https://gitee.com/lyt-top/vue-next-admin/issues/I551RP),感谢[lg_boy](https://gitee.com/lg_boy) ## 2.0.2 diff --git a/src/utils/other.ts b/src/utils/other.ts index 9225380..ba22605 100644 --- a/src/utils/other.ts +++ b/src/utils/other.ts @@ -152,10 +152,10 @@ const other = { lazyImg(el, arr); }, globalComponentSize: () => { - globalComponentSize(); + return globalComponentSize(); }, deepClone: (obj: any) => { - deepClone(obj); + return deepClone(obj); }, isMobile: () => { return isMobile();