@extscreen/es-core 2.3.18 → 2.3.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1575,7 +1575,7 @@ class ESManager {
1575
1575
  * 示例:/data/data/com.extscreen.runtime/app_rpk/apps/es.com.baduanjin.tv/2.2.2203/android
1576
1576
  */
1577
1577
  getESAppRuntimePath() {
1578
- if (this.getESSDKVersionCode() > ES_SDK_VERSION_22) {
1578
+ if (this.getESSDKVersionCode() >= ES_SDK_VERSION_22) {
1579
1579
  return this._runtimePath;
1580
1580
  }
1581
1581
  //
@@ -3272,11 +3272,11 @@ class ESRouterLifecycleManager {
3272
3272
  * @param route
3273
3273
  * @param params
3274
3274
  */
3275
- onESRouterLifecycleNewIntent(route, params) {
3275
+ onESRouterLifecycleNewIntent(route, params, intent) {
3276
3276
  let componentInstance = this.getComponentInstance(route);
3277
3277
  let lifecycleChanged = this.isFunction(componentInstance.onESNewIntent);
3278
3278
  if (componentInstance && lifecycleChanged) {
3279
- componentInstance.onESNewIntent(params);
3279
+ componentInstance.onESNewIntent(params, intent);
3280
3280
  } else {
3281
3281
  if (ESLog.isLoggable(ESLog.DEBUG)) {
3282
3282
  ESLog.d(TAG$5, '#-------onESRouterLifecycleNewIntent-----实例对象为空------>>>>>');
@@ -3357,7 +3357,7 @@ var ESRouter = {
3357
3357
  if (router && router.history && router.history.stack
3358
3358
  && router.history.stack.length > 0) {
3359
3359
  let route = router.currentRoute;
3360
- ESRouterLifecycleManager$1.onESRouterLifecycleNewIntent(route, intent.params);
3360
+ ESRouterLifecycleManager$1.onESRouterLifecycleNewIntent(route, intent.params, intent);
3361
3361
  }
3362
3362
  }
3363
3363
  },
@@ -3438,7 +3438,7 @@ var ESPageLifecycle = {
3438
3438
  onESDestroy() {
3439
3439
 
3440
3440
  },
3441
- onESNewIntent(intent) {
3441
+ onESNewIntent(params, intent) {
3442
3442
 
3443
3443
  },
3444
3444
  onESSaveInstanceState(savedInstanceState) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "2.3.18",
3
+ "version": "2.3.20",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {