更新问诊表重复提交
This commit is contained in:
parent
d3137d149e
commit
49af4f2505
@ -74,7 +74,7 @@ Page({
|
||||
})
|
||||
})
|
||||
},
|
||||
handleSend(){
|
||||
handleSend:debounce(function(){
|
||||
let {order_inquiry_id,result,obj}=this.data;
|
||||
if(result.length==0){
|
||||
wx.showToast({
|
||||
@ -97,7 +97,7 @@ Page({
|
||||
wx.navigateBack();
|
||||
}
|
||||
})
|
||||
},
|
||||
}),
|
||||
noop() {},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
function debounce(fn, delay){
|
||||
function debounce(fn, delay=800){
|
||||
let timer = null;
|
||||
return function(){
|
||||
clearTimeout(timer);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user