小程序bindinput和bindblur賦值延遲問題解決
問題鏈接:https://developers.weixin.qq.com/community/develop/doc/000a0ebdc4c1e8d033178fe4259c00

解決方法:延遲觸發按鈕點擊事件
即原本點擊事件為upload現經過upload_timeout進行延遲,待bindinput或bindblur賦值完成后,再調用upload。
upload_timeout(){
var that = this;
setTimeout(function () {
//要延時執行的代碼
that.upload();
}, 1000) //延遲時間 這里是1秒
},
//內容發布
upload(){
//正式點擊觸發事件
}
