@extscreen/es-core 2.2.2 → 2.2.3

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.
Files changed (2) hide show
  1. package/dist/index.js +25 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2079,6 +2079,31 @@ class ESLaunchManager {
2079
2079
  }
2080
2080
  }
2081
2081
 
2082
+ launchAfterFinishESPage(intent) {
2083
+ if (this.isESRouterEnabled()
2084
+ && this.isESRouterSupported()
2085
+ && this._ESRouter) {
2086
+ this._ESRouter.back();
2087
+ this._ESRouter.push({
2088
+ name: intent.url,
2089
+ params: intent.params,
2090
+ });
2091
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
2092
+ ESLog.d('ESRouter', '#----launchAfterFinishESPage--vue--back&&push----->>>>>');
2093
+ }
2094
+ }
2095
+ //
2096
+ else {
2097
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
2098
+ ESLog.d('ESRouter', '#----launchAfterFinishESPage--native--finish&&launch----->>>>>');
2099
+ }
2100
+ //1.finish
2101
+ ESModule$1.finish();
2102
+ //2.launch
2103
+ this.launchNativePage(intent);
2104
+ }
2105
+ }
2106
+
2082
2107
  finishAllESPage() {
2083
2108
  ESModule$1.finishAll();
2084
2109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {