@extscreen/es-core 2.2.58 → 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 +12 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2480,6 +2480,9 @@ class ESLaunchManager {
|
|
2480
2480
|
pageTag: intent.pageTag,
|
2481
2481
|
pageLimit: intent.pageLimit,
|
2482
2482
|
backgroundColor: intent.backgroundColor,
|
2483
|
+
//
|
2484
|
+
pkg: intent.packageName,
|
2485
|
+
splash: intent.splash,
|
2483
2486
|
});
|
2484
2487
|
}
|
2485
2488
|
|
@@ -4599,6 +4602,7 @@ var ESApplication = {
|
|
4599
4602
|
appInitProps: {},
|
4600
4603
|
appInitUrl: '',
|
4601
4604
|
appInitParams: {},
|
4605
|
+
autoLaunchMainESPage: true,
|
4602
4606
|
};
|
4603
4607
|
},
|
4604
4608
|
mounted() {
|
@@ -4691,6 +4695,11 @@ var ESApplication = {
|
|
4691
4695
|
}
|
4692
4696
|
},
|
4693
4697
|
_initPage() {
|
4698
|
+
if (this.autoLaunchMainESPage) {
|
4699
|
+
this.launchMainESPage();
|
4700
|
+
}
|
4701
|
+
},
|
4702
|
+
launchMainESPage() {//launchESPage
|
4694
4703
|
let route = {
|
4695
4704
|
name: this.appInitUrl,
|
4696
4705
|
params: this.appInitParams,
|
@@ -4724,6 +4733,9 @@ var ESApplication = {
|
|
4724
4733
|
//---------------------------下面的方法给使用者覆写-----------------------------
|
4725
4734
|
onLaunchESPage(url, params) {
|
4726
4735
|
|
4736
|
+
},
|
4737
|
+
setAutoLaunchMainESPage(auto) {
|
4738
|
+
this.autoLaunchMainESPage = auto;
|
4727
4739
|
}
|
4728
4740
|
},
|
4729
4741
|
};
|