main
fanfan 1 month ago
parent c89e75e099
commit fd25605eb1
  1. 3
      src/views/order/Detail.vue

@ -584,7 +584,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() {
@ -598,7 +597,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