xctc-utils 1.5.2 → 1.5.3
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/dist/weixin/index.d.ts +1 -0
- package/dist/weixin/index.js +2 -0
- package/package.json +1 -1
package/dist/weixin/index.d.ts
CHANGED
package/dist/weixin/index.js
CHANGED
|
@@ -328,6 +328,8 @@ function weixinShareInit(options) {
|
|
|
328
328
|
link = "".concat(link, "?state=").concat(state);
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
+
if (options['shareUrl'])
|
|
332
|
+
link = options['shareUrl'];
|
|
331
333
|
var wx = weixinInit();
|
|
332
334
|
(0, index_1.useSessionStorage)("weixinShareUrl", link);
|
|
333
335
|
wx.ready(function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xctc-utils",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "localStorage存储\r ```\r sessionStorage存储\r ```\r crypto-js加密、解密\r ```\r 微信授权登录、微信分享\r ```\r 设备环境获取\r ```\r 是否是微信浏览器\r ```\r 时间戳转时间,字符串转时间戳",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|