防抖
This commit is contained in:
@@ -186,7 +186,6 @@ export default {
|
|||||||
score: this.score
|
score: this.score
|
||||||
}).then(res=> {
|
}).then(res=> {
|
||||||
if(res?.code == 0) {
|
if(res?.code == 0) {
|
||||||
this.flag = false
|
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
setTimeout(()=> {
|
setTimeout(()=> {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@@ -195,7 +194,6 @@ export default {
|
|||||||
}, 600)
|
}, 600)
|
||||||
}
|
}
|
||||||
}).catch(err=> {
|
}).catch(err=> {
|
||||||
this.flag = false
|
|
||||||
this.$u.toast(err.masg)
|
this.$u.toast(err.masg)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user