let zIndex = 2000; /** * 获取下一个 z-index */ export const getNextZIndex = () => ++zIndex;