@mpxjs/core 2.9.14 → 2.9.16
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/core",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.16",
|
|
4
4
|
"description": "mpx runtime core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"miniprogram",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"url": "https://github.com/didi/mpx/issues"
|
|
48
48
|
},
|
|
49
49
|
"sideEffects": false,
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "60cfd1708a61c925d5fc08cca0b31a06b2c4c160"
|
|
51
51
|
}
|
package/src/core/proxy.js
CHANGED
|
@@ -377,8 +377,8 @@ export default class MpxProxy {
|
|
|
377
377
|
this.doRender(this.processRenderDataWithStrictDiff(renderData))
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
-
renderWithData () {
|
|
381
|
-
const renderData = preProcessRenderData(this.renderData)
|
|
380
|
+
renderWithData (skipPre) {
|
|
381
|
+
const renderData = skipPre ? this.renderData : preProcessRenderData(this.renderData)
|
|
382
382
|
this.doRender(this.processRenderDataWithStrictDiff(renderData))
|
|
383
383
|
// 重置renderData准备下次收集
|
|
384
384
|
this.renderData = {}
|
|
@@ -44,6 +44,7 @@ export default function createApp (option, config = {}) {
|
|
|
44
44
|
shareTicket: '',
|
|
45
45
|
referrerInfo: {}
|
|
46
46
|
}
|
|
47
|
+
global.__mpxEnterOptions = options
|
|
47
48
|
this.$options.onLaunch && this.$options.onLaunch.call(this, options)
|
|
48
49
|
global.__mpxAppCbs = global.__mpxAppCbs || {
|
|
49
50
|
show: [],
|