Files
2025-11-17 14:11:46 +08:00

12 lines
381 B
XML

var getNotes = function (storeInfoList, storeIndex) {
if (!storeInfoList || typeof storeInfoList !== 'object' || typeof storeInfoList.length !== 'number' || storeIndex < 0 || storeIndex >= storeInfoList.length) {
return '';
}
var storeInfo = storeInfoList[storeIndex];
if (!storeInfo) {
return '';
}
return storeInfo.remark || '';
};
module.exports = getNotes;