mali-applet-ui 0.2.61 → 0.2.63

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/applet.js +0 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.2.61",
3
+ "version": "0.2.63",
4
4
  "description": "码里云小程序组件库",
5
5
  "scripts": {
6
6
  "release": "node script/release.js && npm publish"
package/utils/applet.js CHANGED
@@ -7,8 +7,6 @@ export function getPlatformEnv () {
7
7
  const platform = {
8
8
  // H5
9
9
  isH5: false,
10
- isQWH5: false,
11
- isDDH5: false,
12
10
  // 微信
13
11
  isWXMP: false,
14
12
  // 企业微信
@@ -20,20 +18,14 @@ export function getPlatformEnv () {
20
18
  }
21
19
  if (/web/.test(sysRes.uniPlatform)) {
22
20
  platform.isH5 = true
23
- platform.isQWH5 = true
24
- platform.isDDH5 = true
25
21
  } else {
26
22
  if (/WeChat/i.test(hostName)) {
27
- platform.isWX = true
28
23
  platform.isWXMP = true
29
24
  } else if (/wxwork/i.test(hostName)) {
30
- platform.isQW = true
31
25
  platform.isQWMP = true
32
26
  } else if (/DingTalk/i.test(hostName)) {
33
- platform.isDD = true
34
27
  platform.isDDMP = true
35
28
  } else if (/alipay/i.test(hostName)) {
36
- platform.isZFB = true
37
29
  platform.isZFBMP = true
38
30
  }
39
31
  }