@mpxjs/webpack-plugin 2.8.6 → 2.8.7

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.
@@ -3,7 +3,7 @@ const TAG_NAME = 'map'
3
3
  module.exports = function ({ print }) {
4
4
  const aliPropLog = print({ platform: 'ali', tag: TAG_NAME, isError: false })
5
5
  const aliEventLogError = print({ platform: 'ali', tag: TAG_NAME, isError: true, type: 'event' })
6
- const aliPropValueWarningLog = print({ platform: 'ali', tag: TAG_NAME, isError: true, type: 'value-attr-uniform' })
6
+ const aliPropValueWarningLog = print({ platform: 'ali', tag: TAG_NAME, isError: false, type: 'value-attr-uniform' })
7
7
  const baiduPropLog = print({ platform: 'baidu', tag: TAG_NAME, isError: false })
8
8
  const baiduEventLogError = print({ platform: 'baidu', tag: TAG_NAME, isError: true, type: 'event' })
9
9
  const jdPropLog = print({ platform: 'jd', tag: TAG_NAME, isError: false })
@@ -28,13 +28,9 @@ export default function processOption (
28
28
  }
29
29
  }
30
30
 
31
- Vue.directive('animation', (el, binding) => {
32
- return animation(el, binding)
33
- })
31
+ Vue.directive('animation', animation)
34
32
 
35
- Vue.filter('transRpxStyle', style => {
36
- return transRpxStyle(style)
37
- })
33
+ Vue.filter('transRpxStyle', transRpxStyle)
38
34
 
39
35
  const routes = []
40
36
 
@@ -213,7 +209,6 @@ export default function processOption (
213
209
  }
214
210
  if (currentPage) {
215
211
  currentPage.mpxPageStatus = 'hide'
216
- currentPage.onHide && currentPage.onHide()
217
212
  }
218
213
  } else {
219
214
  if (global.__mpxAppCbs && global.__mpxAppCbs.show) {
@@ -225,7 +220,6 @@ export default function processOption (
225
220
  }
226
221
  if (currentPage) {
227
222
  currentPage.mpxPageStatus = 'show'
228
- currentPage.onShow && currentPage.onShow()
229
223
  }
230
224
  }
231
225
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/webpack-plugin",
3
- "version": "2.8.6",
3
+ "version": "2.8.7",
4
4
  "description": "mpx compile core",
5
5
  "keywords": [
6
6
  "mpx"
@@ -82,5 +82,5 @@
82
82
  "engines": {
83
83
  "node": ">=14.14.0"
84
84
  },
85
- "gitHead": "c4261c7ea5a16ee3ceaac78afad09e5e0b35d39a"
85
+ "gitHead": "d064d3caf12023c955f79cecdb92b90d479a6a05"
86
86
  }