UNPKG

song-ui-u

Version:

vue3 + js的PC前端组件库

22 lines (18 loc) 422 B
'use strict'; var vue = require('vue'); const initZindex = 3e3; const zIndex = vue.ref(0); const useZindex = () => { const currentZindex = vue.computed(() => initZindex + zIndex.value); const nextZindex = () => { zIndex.value++; }; return { currentZindex, nextZindex }; }; exports.initZindex = initZindex; exports.useZindex = useZindex; exports.zIndex = zIndex; //# sourceMappingURL=index.cjs.map