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();