mirror of
https://github.com/619dev/PaperPhone.git
synced 2026-07-03 00:14:39 +08:00
8 lines
201 B
JavaScript
8 lines
201 B
JavaScript
export const getReferenceValue = ({ ref }, options) => {
|
|
const referenceRecord = {
|
|
...options.endpointParams,
|
|
...options.referenceRecord,
|
|
};
|
|
return referenceRecord[ref];
|
|
};
|