/** * 自增 * @returns */ export const getZIndex = (function () { let value = 1000; return () => { return value++; }; }());