@zhongguo168a/yxeditor-common 0.0.146 → 0.0.147

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -4442,7 +4442,7 @@ class ViewModel extends EventDispatcher {
4442
4442
  console.error(`stop view ${this.toString()}`);
4443
4443
  console.error(e.stack);
4444
4444
  }
4445
- this.dispatch(ViewEvent.Stop);
4445
+ this.close();
4446
4446
  }
4447
4447
  /**
4448
4448
  * 等待发送的结果
@@ -4499,7 +4499,7 @@ class ViewModel extends EventDispatcher {
4499
4499
  }
4500
4500
  }
4501
4501
  if (err) {
4502
- this.close();
4502
+ this.stop(err);
4503
4503
  }
4504
4504
  else {
4505
4505
  if (params.length > 0) {