mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-23 13:43:51 +08:00
修复 修改elementPlus 组件size无效BUG
This commit is contained in:
parent
616de6e06b
commit
8ae48b5c7c
@ -63,9 +63,8 @@ export const lazyImg = (el: any, arr: any) => {
|
||||
* 全局组件大小
|
||||
* @returns 返回 `window.localStorage` 中读取的缓存值 `globalComponentSize`
|
||||
*/
|
||||
export function globalComponentSize() {
|
||||
return Local.get('themeConfig')?.globalComponentSize;
|
||||
}
|
||||
export const globalComponentSize: string = Local.get('themeConfig')?.globalComponentSize || store.state.themeConfig.themeConfig?.globalComponentSize;
|
||||
|
||||
|
||||
/**
|
||||
* 对象深克隆
|
||||
@ -123,9 +122,7 @@ const other = {
|
||||
lazyImg: (el: any, arr: any) => {
|
||||
lazyImg(el, arr);
|
||||
},
|
||||
globalComponentSize: () => {
|
||||
globalComponentSize();
|
||||
},
|
||||
globalComponentSize,
|
||||
deepClone: (obj: any) => {
|
||||
deepClone(obj);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user