devstar插件
This commit is contained in:
5
node_modules/@algolia/autocomplete-shared/dist/esm/getAttributeValueByPath.js
generated
vendored
Normal file
5
node_modules/@algolia/autocomplete-shared/dist/esm/getAttributeValueByPath.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
export function getAttributeValueByPath(record, path) {
|
||||
return path.reduce(function (current, key) {
|
||||
return current && current[key];
|
||||
}, record);
|
||||
}
|
Reference in New Issue
Block a user