docs:optimization point notes (#2526)
This commit is contained in:
parent
8992ef472e
commit
d25dfcc7c0
|
|
@ -2,6 +2,10 @@ import { ref, computed, ComputedRef, unref } from 'vue';
|
|||
import { useEventListener } from '/@/hooks/event/useEventListener';
|
||||
import { screenMap, sizeEnum, screenEnum } from '/@/enums/breakpointEnum';
|
||||
|
||||
// 可以用这个替换,优化项
|
||||
// import { Grid } from 'ant-design-vue';
|
||||
// const { useBreakpoint } = Grid;
|
||||
|
||||
let globalScreenRef: ComputedRef<sizeEnum | undefined>;
|
||||
let globalWidthRef: ComputedRef<number>;
|
||||
let globalRealWidthRef: ComputedRef<number>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue