@zfqh/uniapp 0.1.11 → 0.1.13

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 CHANGED
@@ -3,6 +3,22 @@
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.1.13](http://10.10.10.16/caoben/front-end/compare/@zfqh/uniapp@0.1.12...@zfqh/uniapp@0.1.13) (2026-06-22)
7
+
8
+ **Note:** Version bump only for package @zfqh/uniapp
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.1.12](http://10.10.10.16/caoben/front-end/compare/@zfqh/uniapp@0.1.11...@zfqh/uniapp@0.1.12) (2026-06-22)
15
+
16
+ **Note:** Version bump only for package @zfqh/uniapp
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.1.11](http://10.10.10.16/caoben/front-end/compare/@zfqh/uniapp@0.1.10...@zfqh/uniapp@0.1.11) (2026-06-21)
7
23
 
8
24
  **Note:** Version bump only for package @zfqh/uniapp
package/lib/index.d.ts CHANGED
@@ -14,6 +14,7 @@ export * from './utils/request';
14
14
  export * from './utils/subscribe';
15
15
  export * from './utils/permit';
16
16
  export * from './utils/audio';
17
+ export * from './utils/message';
17
18
  export { default as query } from './utils/query';
18
19
  export { default as update } from './utils/update';
19
20
  export { default as Debounce, debounce } from './utils/debounce';
package/lib/index.js CHANGED
@@ -15,6 +15,7 @@ export * from './utils/request';
15
15
  export * from './utils/subscribe';
16
16
  export * from './utils/permit';
17
17
  export * from './utils/audio';
18
+ export * from './utils/message';
18
19
  export { default as query } from './utils/query';
19
20
  export { default as update } from './utils/update';
20
21
  export { default as Debounce, debounce } from './utils/debounce';
@@ -1,4 +1,3 @@
1
- import Url from 'url-parse';
2
1
  import { stringify } from 'qs';
3
2
  import { TYPES } from '../utils/message';
4
3
  import { PLATFORM_CODE, IS_WEBVIEW_ENV, SYSTEM_INFO } from '../utils/consts';
@@ -175,9 +174,7 @@ export default {
175
174
  }
176
175
  }
177
176
  if (url && /^https?:/.test(url)) {
178
- const { origin, query, pathname, hash } = new Url(url);
179
- const q = `${queryString}${query.replace(/^\?/, '&')}`;
180
- src = `${origin}${pathname}${q}${hash}`;
177
+ src = url;
181
178
  }
182
179
  }
183
180
  if (title) {
@@ -6,4 +6,5 @@ export declare const TYPES: {
6
6
  CHNAGE_TITLE: string;
7
7
  SAVE_IMAGE: string;
8
8
  HIDE_LOADING: string;
9
+ WEBVIEW_MESSAGE: string;
9
10
  };
@@ -6,6 +6,7 @@ export const TYPES = {
6
6
  CHNAGE_TITLE: '',
7
7
  SAVE_IMAGE: '',
8
8
  HIDE_LOADING: '',
9
+ WEBVIEW_MESSAGE: '',
9
10
  };
10
11
  Object.keys(TYPES).forEach((key) => {
11
12
  TYPES[key] = key;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zfqh/uniapp",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
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": "157b2a8fd65346813e9995b40212b8568e2197e1"
49
+ "gitHead": "56e5b2fc302aa9fb20fb1b963699680bb52a5fa6"
50
50
  }
package/types/index.d.ts CHANGED
@@ -9,7 +9,7 @@ declare global {
9
9
  interface Uni extends UniTypes {
10
10
  $store: Store;
11
11
  $i18n: I18n;
12
- $uv: any;
12
+ $uv: any;
13
13
  webView: any;
14
14
  showAppFromBackground: boolean;
15
15
  getLocationCallback: {
@@ -22,6 +22,9 @@ declare global {
22
22
  }
23
23
 
24
24
  interface Window {
25
- __wxjs_environment: string;
25
+ __wxjs_environment: string;
26
+ electron: any;
27
+ versionName: string;
28
+ versionCode: number;
26
29
  }
27
30
  }