message: fix(Dialog): should reset loading when close
diff: @@ -55,10 +55,12 @@ export default createComponent({
  if (this.beforeClose) {
  this.loading[action] = true;
  this.beforeClose(action, state => {
  - if (state !== false) {
  + if (state !== false && this.loading[action]) {
  this.onClose(action);
  }
  - this.loading[action] = false;
  +
  + this.loading.confirm = false;
  + this.loading.cancel = false;
  });
  } else {
  this.onClose(action);
  