添加防抖
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user