完全跑通1.0版本
This commit is contained in:
19
frontend/node_modules/element-plus/es/utils/objects.mjs
generated
vendored
Normal file
19
frontend/node_modules/element-plus/es/utils/objects.mjs
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { hasOwn } from "@vue/shared";
|
||||
import { get, set } from "lodash-unified";
|
||||
//#region ../../packages/utils/objects.ts
|
||||
const keysOf = (arr) => Object.keys(arr);
|
||||
const entriesOf = (arr) => Object.entries(arr);
|
||||
const getProp = (obj, path, defaultValue) => {
|
||||
return {
|
||||
get value() {
|
||||
return get(obj, path, defaultValue);
|
||||
},
|
||||
set value(val) {
|
||||
set(obj, path, val);
|
||||
}
|
||||
};
|
||||
};
|
||||
//#endregion
|
||||
export { entriesOf, getProp, hasOwn, keysOf };
|
||||
|
||||
//# sourceMappingURL=objects.mjs.map
|
||||
Reference in New Issue
Block a user