@zhongguo168a/yxeditor-common 0.0.51 → 0.0.52

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.d.ts CHANGED
@@ -1040,7 +1040,7 @@ declare class RouteView extends EventDispatcher {
1040
1040
  open(): void;
1041
1041
  close(): void;
1042
1042
  refresh(): void;
1043
- stop(): void;
1043
+ stop(reason?: string): void;
1044
1044
  /**
1045
1045
  * 等待发送的结果
1046
1046
  * 如果返回 null,表示主动取消 [cancel]
package/dist/index.esm.js CHANGED
@@ -3931,7 +3931,7 @@ class RouteView extends EventDispatcher {
3931
3931
  console.error(e.stack);
3932
3932
  }
3933
3933
  }
3934
- stop() {
3934
+ stop(reason) {
3935
3935
  try {
3936
3936
  if (this._onStop) {
3937
3937
  this._onStop(this);