@extscreen/es-core 2.2.66 → 2.2.67
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 +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2982,7 +2982,8 @@ var ESRouter = {
|
|
2982
2982
|
ESLog.d(TAG$4, '#-------onESRouterBackPressed----->>>>>');
|
2983
2983
|
}
|
2984
2984
|
let router = this.$router;
|
2985
|
-
if (router
|
2985
|
+
if (router && router.history && router.history.stack
|
2986
|
+
&& router.history.stack.length > 0) {
|
2986
2987
|
let route = router.currentRoute;
|
2987
2988
|
ESRouterKeyManager$1.dispatchBackPressed(route);
|
2988
2989
|
}
|
@@ -2993,7 +2994,8 @@ var ESRouter = {
|
|
2993
2994
|
ESLog.d(TAG$4, '#-------onESRouterDispatchKeyEvent----->>>>>' + keyEvent);
|
2994
2995
|
}
|
2995
2996
|
let router = this.$router;
|
2996
|
-
if (router
|
2997
|
+
if (router && router.history && router.history.stack
|
2998
|
+
&& router.history.stack.length > 0) {
|
2997
2999
|
let route = router.currentRoute;
|
2998
3000
|
ESRouterKeyManager$1.dispatchKeyEvent(route, keyEvent);
|
2999
3001
|
}
|
@@ -3005,7 +3007,8 @@ var ESRouter = {
|
|
3005
3007
|
ESLog.d(TAG$4, '#-------onESRouterLifecycleChanged----->>>>>' + event);
|
3006
3008
|
}
|
3007
3009
|
let router = this.$router;
|
3008
|
-
if (router
|
3010
|
+
if (router && router.history && router.history.stack
|
3011
|
+
&& router.history.stack.length > 0) {
|
3009
3012
|
let route = router.currentRoute;
|
3010
3013
|
ESRouterLifecycleManager$1.onESRouterLifecycleChanged(route, event);
|
3011
3014
|
}
|
@@ -3017,7 +3020,8 @@ var ESRouter = {
|
|
3017
3020
|
ESLog.d(TAG$4, '#-------onESRouterLifecycleNewIntent----->>>>>' + intent);
|
3018
3021
|
}
|
3019
3022
|
let router = this.$router;
|
3020
|
-
if (router
|
3023
|
+
if (router && router.history && router.history.stack
|
3024
|
+
&& router.history.stack.length > 0) {
|
3021
3025
|
let route = router.currentRoute;
|
3022
3026
|
ESRouterLifecycleManager$1.onESRouterLifecycleNewIntent(route, intent.params);
|
3023
3027
|
}
|