mali-applet-ui 1.1.34 → 1.1.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.
@@ -217,6 +217,7 @@ export default {
217
217
  this.$emit('into', this.cache[this.cache.length - 1])
218
218
  }
219
219
  }
220
+ this.reloadLazy()
220
221
  },
221
222
  reloadLazy () {
222
223
  const { current } = this
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.1.34",
3
+ "version": "1.1.35",
4
4
  "description": "vue2 码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",
package/utils/applet.js CHANGED
@@ -23,14 +23,14 @@ export function checkForUpdate () {
23
23
  }
24
24
 
25
25
  /**
26
- * 当前小程序运行环境
26
+ * 当前运行环境
27
27
  */
28
28
  export function getPlatformEnv () {
29
29
  const sysRes = uni.getSystemInfoSync()
30
30
  const hostName = sysRes.hostName
31
31
  const platform = {
32
- // H5
33
- isH5: false,
32
+ // 浏览器
33
+ isWeb: false,
34
34
  // 微信
35
35
  isWXMP: false,
36
36
  // 企业微信
@@ -42,6 +42,7 @@ export function getPlatformEnv () {
42
42
  }
43
43
  if (/web/.test(sysRes.uniPlatform)) {
44
44
  platform.isH5 = true
45
+ platform.isWeb = true
45
46
  } else {
46
47
  if (/WeChat/i.test(hostName)) {
47
48
  platform.isWXMP = true