HTML <van-button type="primary" round block @click="submit">提交</van-button> 安装引入 npm i --save lodash import _ from 'lodash' 防抖 submit: _.debounce(function () { console.log('提交') }, 2000) 节流 submit: _.throttle(function () { console.log('提交') }, 2000)