uni-app 开发/学习 笔记

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

猜你喜欢

转载自blog.csdn.net/hujian66/article/details/129996867