xctc-utils 1.6.25 → 1.6.26
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.js +2 -2
- package/package.json +1 -1
package/dist/weixin/index.js
CHANGED
|
@@ -216,7 +216,7 @@ function login(code) {
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
else {
|
|
219
|
+
else if (hashVal) {
|
|
220
220
|
url = "".concat(url, "/").concat(hashVal);
|
|
221
221
|
}
|
|
222
222
|
if (weixinConfig['isPassLogin']) {
|
|
@@ -321,7 +321,7 @@ var isContinue = function () {
|
|
|
321
321
|
if (search) {
|
|
322
322
|
codeIndex = search.indexOf("code=");
|
|
323
323
|
}
|
|
324
|
-
if (localCodeData && localCodeData.hasOwnProperty("code")
|
|
324
|
+
if (localCodeData && localCodeData.hasOwnProperty("code")) {
|
|
325
325
|
return true;
|
|
326
326
|
}
|
|
327
327
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xctc-utils",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.26",
|
|
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",
|