添加防抖

This commit is contained in:
2024-05-17 11:36:52 +08:00
committed by qianhao.xu
parent bfcbe077d0
commit eb6abd6e9a
2 changed files with 2 additions and 2 deletions

View File

@@ -311,7 +311,7 @@ export default {
//todo 开始agv
start_agv() {
debounce(() => {
uni.$u.throttle(() => {
if (this.start_point == '' || this.end_point == '') {
this.$refs.uToast.show({
type: 'error',

View File

@@ -77,7 +77,7 @@ export default {
});
},
start_agv() {
debounce(()=> {
uni.$u.throttle(()=> {
if (this.start_point == '' || this.end_point == '') {
this.$refs.uToast.show({
type: 'error',