|
|
@@ -88,19 +88,19 @@ Page({
|
|
|
// ""
|
|
|
if (res.data) {
|
|
|
var tempList = res.data || [];
|
|
|
- for (let i = 0; i < tempList.length; i++) {
|
|
|
- const element = tempList[i];
|
|
|
- element.icon = `https://aipush.aidsleep.cn/assets/helpics/${element.icon}`;
|
|
|
- that.getList(tempList, i, element.cid)
|
|
|
- }
|
|
|
+ // for (let i = 0; i < tempList.length; i++) {
|
|
|
+ // const element = tempList[i];
|
|
|
+ // element.icon = `https://aipush.aidsleep.cn/assets/helpics/${element.icon}`;
|
|
|
+ // that.getList(tempList, i, element.cid)
|
|
|
+ // }
|
|
|
// [{"cid":11,"name":"房间控制","icon":"all_67362a14b131f.png","subList":"[]"}]
|
|
|
// console.log("tempList=>", JSON.stringify(tempList));
|
|
|
// console.log("tempList=>", tempList);
|
|
|
- setTimeout(() => {
|
|
|
+ // setTimeout(() => {
|
|
|
that.setData({
|
|
|
mCateList: tempList
|
|
|
})
|
|
|
- }, 250 * tempList.length);
|
|
|
+ // }, 250 * tempList.length);
|
|
|
|
|
|
}
|
|
|
|