装饰器

1.方法装饰器 (1)节流防抖 import { throttle, debounce } from 'lodash'// 节流 export const throttle = function(wait, options = {}) { return function(target, name,
posted @ 2021-11-28 16:56  卷叶小树  阅读(25)  评论(0编辑  收藏  举报