master
fanfan 1 month ago
parent e403cff8eb
commit 5cfc9c38ad
  1. 3
      src/views/order/Detail.vue

@ -596,7 +596,6 @@ export default {
}, },
handleForcecancel() { handleForcecancel() {
let that = this let that = this
this.isLoading = true
const modal = this.$confirm({ const modal = this.$confirm({
title: '您确定要取消该订单吗', title: '您确定要取消该订单吗',
onOk() { onOk() {
@ -610,7 +609,7 @@ export default {
that.$message.fail(result.message, 1.5) that.$message.fail(result.message, 1.5)
} }
}) })
.finally(() => (that.isLoading = false)) .finally((result) => modal.destroy())
}, },
}) })
}, },

Loading…
Cancel
Save