wx-auth-sdk 1.2.12 → 1.2.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/README.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -155,8 +155,12 @@ WxAuth.init({
|
|
|
155
155
|
| 键盘左右/退格导航 | ✅ |
|
|
156
156
|
| 输入完成自动提交 | ✅ |
|
|
157
157
|
| 有 Cookie 静默认证 | ✅ |
|
|
158
|
+
| 清 Cookie 自动恢复(签名 Token 双存储:Cookie + localStorage) | ✅ |
|
|
158
159
|
| F12 删弹窗自动恢复 | ✅ |
|
|
159
160
|
|
|
161
|
+
> **清 Cookie 恢复说明**:Token 同时存 Cookie 与 localStorage。清除 Cookie 后,只要服务端认证状态仍有效,SDK 会凭 localStorage 备份静默恢复并重写 Cookie。
|
|
162
|
+
> 注意:备份按站点隔离(不跨子域);清全部站点数据则无法恢复(符合隐私预期)。
|
|
163
|
+
|
|
160
164
|
---
|
|
161
165
|
|
|
162
166
|
## 开发
|