|
|
@@ -623,7 +623,7 @@ export default {
|
|
|
success: function(res) {
|
|
|
if (res.confirm) {
|
|
|
var discardFn = self.payload.type === 'tongue' ? discardTongue : discardReportDraft
|
|
|
- discardFn({ draftId: self.draftId }).then(function() {
|
|
|
+ discardFn(self.draftId).then(function() {
|
|
|
uni.showToast({ title: '已放弃', icon: 'none' })
|
|
|
setTimeout(function() { uni.navigateBack() }, 500)
|
|
|
}).catch(function() {
|