|
@ -30,9 +30,10 @@ module.exports = Behavior ({ |
|
|
Promise.all([this.getModuleList(), this.getImgUrl()]).then( () => { |
|
|
Promise.all([this.getModuleList(), this.getImgUrl()]).then( () => { |
|
|
let newArr = group(this.data.tabList.sort(compare('sort')), 2) |
|
|
let newArr = group(this.data.tabList.sort(compare('sort')), 2) |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
tabLeftList: newArr[0], |
|
|
tabLeftList: newArr[1], |
|
|
tabRightList: newArr[1] |
|
|
tabRightList: newArr[0] |
|
|
}) |
|
|
}) |
|
|
|
|
|
// 2021.07.09 左右菜单互换位置
|
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// 获取模块信息
|
|
|
// 获取模块信息
|
|
|