@extscreen/es-core 2.2.59 → 2.2.60
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 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -4602,6 +4602,7 @@ var ESApplication = {
|
|
4602
4602
|
appInitProps: {},
|
4603
4603
|
appInitUrl: '',
|
4604
4604
|
appInitParams: {},
|
4605
|
+
autoLaunchMainESPage: true,
|
4605
4606
|
};
|
4606
4607
|
},
|
4607
4608
|
mounted() {
|
@@ -4694,6 +4695,11 @@ var ESApplication = {
|
|
4694
4695
|
}
|
4695
4696
|
},
|
4696
4697
|
_initPage() {
|
4698
|
+
if (this.autoLaunchMainESPage) {
|
4699
|
+
this.launchMainESPage();
|
4700
|
+
}
|
4701
|
+
},
|
4702
|
+
launchMainESPage() {//launchESPage
|
4697
4703
|
let route = {
|
4698
4704
|
name: this.appInitUrl,
|
4699
4705
|
params: this.appInitParams,
|
@@ -4727,6 +4733,9 @@ var ESApplication = {
|
|
4727
4733
|
//---------------------------下面的方法给使用者覆写-----------------------------
|
4728
4734
|
onLaunchESPage(url, params) {
|
4729
4735
|
|
4736
|
+
},
|
4737
|
+
setAutoLaunchMainESPage(auto) {
|
4738
|
+
this.autoLaunchMainESPage = auto;
|
4730
4739
|
}
|
4731
4740
|
},
|
4732
4741
|
};
|