@dcloudio/vue-cli-plugin-uni 2.0.1-alpha-34820220426001 → 2.0.1-alpha-34820220427002

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/lib/env.js +10 -3
  2. package/package.json +3 -3
package/lib/env.js CHANGED
@@ -351,9 +351,16 @@ if (
351
351
  console.log()
352
352
  }
353
353
  } else {
354
- console.log()
355
- console.warn(`已开启 uni统计${uniStatistics.version}.0 版本`)
356
- console.log()
354
+ if (!uniStatistics.version) {
355
+ console.log()
356
+ console.warn(uniI18n.__('pluginUni.uniStatisticsNoVersion', {
357
+ 0: 'https://uniapp.dcloud.io/uni-stat-v2.html'
358
+ }))
359
+ } else {
360
+ console.log()
361
+ console.warn(`已开启 uni统计${uniStatistics.version}.0 版本`)
362
+ console.log()
363
+ }
357
364
  }
358
365
  }
359
366
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/vue-cli-plugin-uni",
3
- "version": "2.0.1-alpha-34820220426001",
3
+ "version": "2.0.1-alpha-34820220427002",
4
4
  "description": "uni-app plugin for vue-cli 3",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -17,7 +17,7 @@
17
17
  "author": "fxy060608",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@dcloudio/uni-stat": "^2.0.1-alpha-34820220426001",
20
+ "@dcloudio/uni-stat": "^2.0.1-alpha-34820220427002",
21
21
  "buffer-json": "^2.0.0",
22
22
  "clone-deep": "^4.0.1",
23
23
  "copy-webpack-plugin": "^5.1.1",
@@ -39,5 +39,5 @@
39
39
  "wrap-loader": "^0.2.0",
40
40
  "xregexp": "4.0.0"
41
41
  },
42
- "gitHead": "fb4c22a46eb803af8cd937caf15d2fb0f72a221c"
42
+ "gitHead": "7a1252fc9626a71f4a029d5cff3ab2eeeafa26b6"
43
43
  }