@extscreen/es-core 10000.1.9 → 10000.1.10
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 +9 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1914,7 +1914,7 @@ function dispatchInstanceKeyEvent(componentInstance, keyEvent) {
|
|
1914
1914
|
|
1915
1915
|
function dispatchBackPressed(route) {
|
1916
1916
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1917
|
-
|
1917
|
+
console.log(TAG$1, '#-------dispatchBackPressed---route-1->>>>>', route);
|
1918
1918
|
}
|
1919
1919
|
let instance = getComponentInstance(route);
|
1920
1920
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
@@ -1924,12 +1924,19 @@ function dispatchBackPressed(route) {
|
|
1924
1924
|
}
|
1925
1925
|
|
1926
1926
|
function dispatchInstanceBackPressed(componentInstance) {
|
1927
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1928
|
+
ESLog.d(TAG$1, '#-------dispatchInstanceBackPressed--------->>>>>' + componentInstance);
|
1929
|
+
}
|
1927
1930
|
if (componentInstance) {
|
1928
1931
|
if (isFunction(componentInstance.onBackPressed)) {
|
1929
1932
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1930
1933
|
ESLog.d(TAG$1, '#-------onBackPressed---success------>>>>>');
|
1931
1934
|
}
|
1932
1935
|
componentInstance.onBackPressed();
|
1936
|
+
} else {
|
1937
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1938
|
+
ESLog.d(TAG$1, '#-------onBackPressed---error------>>>>>');
|
1939
|
+
}
|
1933
1940
|
}
|
1934
1941
|
} else {
|
1935
1942
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
@@ -1969,7 +1976,7 @@ var ESRouter = {
|
|
1969
1976
|
if (router) {
|
1970
1977
|
let route = router.currentRoute;
|
1971
1978
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1972
|
-
|
1979
|
+
console.log(TAG, '#-------onESRouterBackPressed---route-->>>>>', route);
|
1973
1980
|
}
|
1974
1981
|
dispatchBackPressed(route);
|
1975
1982
|
}
|