diff --git a/pages/spellGroup/mySpellGroup/index.js b/pages/spellGroup/mySpellGroup/index.js index dd6c856..3cdd9ec 100644 --- a/pages/spellGroup/mySpellGroup/index.js +++ b/pages/spellGroup/mySpellGroup/index.js @@ -52,9 +52,9 @@ Page({ }) }) }, - gotoIndex() { - wx.reLaunch({ - url: '/pages/index/index', + gotoIndex: function () { + wx.switchTab({ + url: '/pages/main/index', }) }, /**