@extscreen/es-core 2.3.18 → 2.3.19
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.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -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) {
|