@mpxjs/webpack-plugin 2.8.34 → 2.8.35
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.
|
@@ -102,7 +102,7 @@ module.exports = function ({ print }) {
|
|
|
102
102
|
if (isMustache(value)) {
|
|
103
103
|
ttValueLog({ name, value })
|
|
104
104
|
} else {
|
|
105
|
-
const supportList = ['share', 'getPhoneNumber', 'contact']
|
|
105
|
+
const supportList = ['share', 'getPhoneNumber', 'contact', 'im', 'openSetting']
|
|
106
106
|
if (value && supportList.indexOf(value) === -1) {
|
|
107
107
|
ttValueLogError({ name, value })
|
|
108
108
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { isEmptyObject } from '../../utils'
|
|
2
|
-
|
|
2
|
+
import { isBrowser } from '../../env'
|
|
3
|
+
|
|
4
|
+
const isTouchDevice = isBrowser ? document && ('ontouchstart' in document.documentElement) : true
|
|
3
5
|
|
|
4
6
|
function processModel (listeners, context) {
|
|
5
7
|
// 该函数只有wx:model的情况下才调用,而且默认e.detail.value有值
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/webpack-plugin",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.35",
|
|
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": "
|
|
85
|
+
"gitHead": "ee18a2c1b3f78b7f3033398b83675cac40deb6c6"
|
|
86
86
|
}
|