修改后台权限

This commit is contained in:
yoyuzh
2026-03-24 14:30:59 +08:00
parent 00f902f475
commit b2d9db7be9
9310 changed files with 1246063 additions and 48 deletions

32
node_modules/get-own-enumerable-keys/readme.md generated vendored Normal file
View File

@@ -0,0 +1,32 @@
# get-own-enumerable-keys
> Like [`Object.keys()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys) but also includes [symbols](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol)
`Object.keys()` returns the own enumerable keys of an object except symbols (for legacy reasons). This package includes symbols too.
Use [`Reflect.ownKeys()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys) if you also want non-enumerable keys.
## Install
```sh
npm install get-own-enumerable-keys
```
## Usage
```js
import getOwnEnumerableKeys from 'get-own-enumerable-keys';
const symbol = Symbol('x');
const object = {
foo: true,
[symbol]: true,
};
Object.keys(object);
// ['foo']
getOwnEnumerableKeys(object);
//=> ['foo', Symbol('x')]
```