Commit 59e8be24 authored by 李维's avatar 李维

feat: 更新模板名称

parent 2f213b43
......@@ -274,7 +274,24 @@ export default class GameCenter extends cc.Component {
console.log('rows数组长度:', data.rows.length);
console.log('rows数据:', data.rows);
const nameMap = {
"229602" : "火力小炮台",
"229604" : "钓鱼大作战",
"229606" : "急速滑雪",
"229593" : "单词泡泡",
"229594" : "疯狂拍苍蝇",
"229595" : "魔法福袋",
"229596" : "发音闪卡",
"229597" : "看图选词",
"229598" : "视频",
"229599" : "情景连线",
"229600" : "听音选择",
"229605" : "弹珠大作战",
"229603" : "欢乐卡牌机",
"229601" : "热气球大战",
"229580" : "翻卡",
"229579" : "打企鹅"
}
this.gameDataList = [];
const notClickableGameIds = [229603,229605,229601,229580,229579];
......@@ -292,6 +309,11 @@ export default class GameCenter extends cc.Component {
} else {
this.gameDataList.push(item);
}
if(nameMap[item.id]) {
item.template_description = nameMap[item.id];
}
console.log('item:', item);
return item;
});
......
......@@ -338,7 +338,7 @@
"ctor": "Float64Array",
"array": [
-1.089,
-101.039,
-103.039,
0,
0,
0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment