@mpxjs/core 2.10.18-beta.1 → 2.10.18-beta.3
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/package.json
CHANGED
|
@@ -119,7 +119,7 @@ export default function createApp (options) {
|
|
|
119
119
|
const current = state.routes[state.index]
|
|
120
120
|
options = {
|
|
121
121
|
path: current.name,
|
|
122
|
-
query: current.params,
|
|
122
|
+
query: current.name === global.__mpxInitialRouteName ? global.__mpxInitialRunParams : current.params,
|
|
123
123
|
scene: 0,
|
|
124
124
|
shareTicket: '',
|
|
125
125
|
referrerInfo: {}
|
|
@@ -179,7 +179,7 @@ export default function createApp (options) {
|
|
|
179
179
|
const current = state.routes[state.index]
|
|
180
180
|
const options = {
|
|
181
181
|
path: current.name,
|
|
182
|
-
query: current.params,
|
|
182
|
+
query: current.name === global.__mpxInitialRouteName ? global.__mpxInitialRunParams : current.params,
|
|
183
183
|
scene: 0,
|
|
184
184
|
shareTicket: '',
|
|
185
185
|
referrerInfo: {},
|