mirror of
https://github.com/619dev/PaperPhone.git
synced 2026-05-08 14:57:04 +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];
|
|
};
|