mali-applet-ui 0.1.13 → 0.1.14

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 +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "components",
package/utils/applet.js CHANGED
@@ -22,8 +22,8 @@ export function getAppVersion () {
22
22
  let version = ''
23
23
 
24
24
  // #ifdef MP-WEIXIN
25
- version.getAccountInfoSync().miniProgram.version
26
-
25
+ version = version.getAccountInfoSync().miniProgram.version
27
26
  // #endif
27
+
28
28
  return version
29
29
  }