This commit is contained in:
lik
2026-05-28 17:06:18 +08:00
parent a93a75b3c6
commit db0f47d994
582 changed files with 8060 additions and 1781 deletions

View File

@@ -1,10 +1,10 @@
module.exports = {
getText: function (texts, val, defaultTexts) {
getText: function (texts, val, globalConfig) {
if (!texts.length) {
texts = defaultTexts;
texts = globalConfig.texts || [];
}
var curVal = Math.floor(val - 1);
return texts[curVal] || '未评分';
return texts[curVal] || globalConfig.noValueText;
},
getIconName: function (defaultValue, value, index, icon) {