diff --git a/src/views/order/Detail.vue b/src/views/order/Detail.vue index 0333eb2..c2ba77e 100644 --- a/src/views/order/Detail.vue +++ b/src/views/order/Detail.vue @@ -596,7 +596,6 @@ export default { }, handleForcecancel() { let that = this - this.isLoading = true const modal = this.$confirm({ title: '您确定要取消该订单吗', onOk() { @@ -610,7 +609,7 @@ export default { that.$message.fail(result.message, 1.5) } }) - .finally(() => (that.isLoading = false)) + .finally((result) => modal.destroy()) }, }) },