UNPKG

mine-h5-ui

Version:

一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍

55 lines (54 loc) 873 B
import { Retarder as e, GenerateRandom as o, Calculation as r, AddZero as t, Locked as a, Debounce as n, Throttle as d, CountDown as c, FormatTime as l, IsLeapyear as p, DeepCopyRA as m, IsType as i } from "../../MeAPI/function.js"; const s = () => ({ /** * 变量类型判断 */ varType: i, /** * 深拷贝变量 - 递归算法(recursive algorithm) */ cloneDeep: m, /** * 判断是否是闰年 */ isLeapyear: p, /** * 时间转换 */ formatTime: l, /** * 倒计时 */ countDown: c, /** * 节流 */ throttle: d, /** * 防抖 */ debounce: n, /** * 锁定 */ locked: a, /** * 加 0 补位 */ addZero: t, /** * 加减乘除运算 */ calculation: r, /** * 生成随机数 */ generateRandom: o, /** * 延迟器 */ retarder: e }); export { s as useUtils };