This commit is contained in:
quantulr
2023-08-30 17:27:21 +08:00
commit 0288146b0d
85 changed files with 26508 additions and 0 deletions

View File

@ -0,0 +1,15 @@
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,
};