Files
quantulr 0288146b0d init
2023-08-30 17:27:21 +08:00

16 lines
294 B
XML

var es6 = require("./es6.wxs");
var getDictLabel = function (value, options) {
var option = es6.find(options, function (el) {
return el.value === value;
});
if (option) {
return option.label;
} else {
return null;
}
};
module.exports = {
getDictLabel: getDictLabel,
};