@zfqh/uniapp 0.2.24 → 0.2.25
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.
- package/CHANGELOG.md +8 -0
- package/lib/utils/update.js +6 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.2.25](http://10.10.10.16/caoben/front-end/compare/@zfqh/uniapp@0.2.24...@zfqh/uniapp@0.2.25) (2026-06-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @zfqh/uniapp
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.2.24](http://10.10.10.16/caoben/front-end/compare/@zfqh/uniapp@0.2.23...@zfqh/uniapp@0.2.24) (2026-06-28)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @zfqh/uniapp
|
package/lib/utils/update.js
CHANGED
|
@@ -55,17 +55,17 @@ export async function checkVersion(appId) {
|
|
|
55
55
|
data = await h5GetProperty(appId);
|
|
56
56
|
version = data.versionCode || 0;
|
|
57
57
|
// #endif
|
|
58
|
-
let type =
|
|
59
|
-
|
|
60
|
-
if (IS_WEBVIEW_ENV) {
|
|
61
|
-
type =
|
|
58
|
+
let type = 3;
|
|
59
|
+
let plat;
|
|
60
|
+
if (!IS_WEBVIEW_ENV && appId === app.appId) {
|
|
61
|
+
type = 1;
|
|
62
|
+
plat = { android: '1', ios: '2', harmony: '3', windows: '4', macos: '5' }[platform];
|
|
62
63
|
}
|
|
63
|
-
// #endif
|
|
64
64
|
const res = await getLastVersion({
|
|
65
65
|
version,
|
|
66
66
|
appId,
|
|
67
67
|
type,
|
|
68
|
-
platform:
|
|
68
|
+
platform: plat,
|
|
69
69
|
}, { custom: { message: false } });
|
|
70
70
|
const lastVer = { ...res?.data };
|
|
71
71
|
// #ifdef APP
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zfqh/uniapp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.25",
|
|
4
4
|
"description": "uniapp公共模块",
|
|
5
5
|
"author": "yinjiazeng@163.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"@types/qs": "^6.9.16",
|
|
47
47
|
"@types/url-parse": "^1.4.11"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "19e7ced0de35708094280ef2f75d1ab789e9e994"
|
|
50
50
|
}
|