...
|
...
|
@@ -84,6 +84,12 @@ function convert(basicInfo, obj) { |
|
|
if (convertObj[key]) {
|
|
|
if(key==="ageLevel"){
|
|
|
basicInfo[key] = common.config.__ageLevel(value);
|
|
|
}else if(key == "seasons") {
|
|
|
basicInfo[key] = basicInfo[key].replace(/seasons/g, "四季")
|
|
|
.replace(/spring/g, "春")
|
|
|
.replace(/summer/g, "夏")
|
|
|
.replace(/autumn/g, "秋")
|
|
|
.replace(/winter/g, "冬");
|
|
|
}else{
|
|
|
basicInfo[key] = convertObj[key][value];
|
|
|
}
|
...
|
...
|
|