fix: 微信登录补充保存username和role
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Agent
2026-04-04 07:35:21 +00:00
parent 756444ef2b
commit d12eea7693
10597 changed files with 817047 additions and 3 deletions

29
node_modules/localstorage-polyfill/README.md generated vendored Normal file
View File

@@ -0,0 +1,29 @@
# localstorage-polyfill
in memory localStorage polyfill for node.js utilizing ES6 proxies
## Installation
```
npm i localstorage-polyfill -D
```
Saving for development, because primarily this package is meant for unit testing browser in node.js.
## Usage
```javascript
require('localstorage-polyfill')
// or
import 'localstorage-polyfill'
global.localStorage // now has your in memory localStorage
```
For API doc, refer to MDN.
There are other packages like node-localStorage, but none of them work properly when you do
```javascript
localStorage.c = 1
```
They only shim the methods of localStorage object, they don't imitate it's behaviour fully.