- 给查询按钮增加防抖功能
utils/common.js中:
// 按钮防抖
export function noMultipleClicks(methods, info) {
// methods是执行的函数名,info是点击需要传的参数,无参数时单传一个方法名
let _this = this
if (_this.noClick)
utils/common.js中:
// 按钮防抖
export function noMultipleClicks(methods, info) {
// methods是执行的函数名,info是点击需要传的参数,无参数时单传一个方法名
let _this = this
if (_this.noClick)