/** * 请求状态装饰器 * class scope: target: constructor recommend use target.prototype * method scope: target: raw vue recommend use this */ /** * 给请求方法(通常为getList)添加请求状态控制 * @scope method * @param updateKey 作为加载状态的key 挂载在this对象下 * @returns */ export declare function RequestStatus(updateKey: string): (target: Vue, key: string, descriptor: any) => void; /** * 延迟调用方法 * @scope method * @param time 延迟调用时间 * @param timerKey 定时器key * @returns */ export declare function Delay(time?: number, timerKey?: string): (target: Vue, key: string, descriptor: any) => void;