@extscreen/es-core 2.2.49 → 2.2.52
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 +13 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2560,6 +2560,19 @@ class ESLaunchManager {
|
|
2560
2560
|
ESModule$1.finish();
|
2561
2561
|
}
|
2562
2562
|
}
|
2563
|
+
|
2564
|
+
/**
|
2565
|
+
* 获取当前页面的路由
|
2566
|
+
*/
|
2567
|
+
getCurrentESPage() {
|
2568
|
+
if (this._ESRouter && this._ESRouter.currentRoute) {
|
2569
|
+
return {
|
2570
|
+
url: this._ESRouter.currentRoute.name,
|
2571
|
+
params: this._ESRouter.currentRoute.params,
|
2572
|
+
};
|
2573
|
+
}
|
2574
|
+
return null;
|
2575
|
+
}
|
2563
2576
|
}
|
2564
2577
|
|
2565
2578
|
var ESLaunchManager$1 = new ESLaunchManager();
|