diff --git a/pages/toRegister/toRegister.js b/pages/toRegister/toRegister.js index 6f36cdc..8bd9017 100644 --- a/pages/toRegister/toRegister.js +++ b/pages/toRegister/toRegister.js @@ -21,7 +21,7 @@ Page({ // } // }) let that = this - const versionNum = "1.7.25" + const versionNum = "1.7.26" api.getScanSwitch(versionNum).then(function (res) { console.log(res.data) let state = res.data ? res.data.scanFlag : '1' diff --git a/utils/heartBehavior.js b/utils/heartBehavior.js index f91b354..cb15ec7 100644 --- a/utils/heartBehavior.js +++ b/utils/heartBehavior.js @@ -81,9 +81,9 @@ module.exports = Behavior ({ // this.setData({ // tabList: this.data.tabList // }) - this.data.tabRightList.push(item) + this.data.tabLeftList.push(item) this.setData({ - tabRightList: this.data.tabRightList + tabLeftList: this.data.tabLeftList.sort(compare('sort')) }) } else if (item.imgType == '8') { this.setData({ @@ -97,9 +97,9 @@ module.exports = Behavior ({ }) } else if (item.imgType == '11' || item.imgType == '12') { // 2021.11.17 左侧固定 志愿团队 共建联盟 - this.data.tabLeftList.push(item) + this.data.tabRightList.push(item) this.setData({ - tabLeftList: this.data.tabLeftList.sort(compare('imgType')) + tabRightList: this.data.tabRightList.sort(compare('sort')) }) } })