diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index 40a0053..bdfa472 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -278,6 +278,8 @@ function checkIsLogin(){ selectNewsCollectList(); //加载消息列表 addMessage(mm_itemsPerLoad,0); + //加载工具条 + loadToolList(); } } @@ -497,6 +499,9 @@ function openSettingPage() { document.addEventListener('plusready', onPlusReady, false); function onPlusReady(){ + checkIsLogin(); +} +function loadToolList (){ var toolList = new Vue({ el:"#toolList", data:{ @@ -547,9 +552,7 @@ function onPlusReady(){ }).catch(function(error){ console.log(error); }); - checkIsLogin(); } - $("a[href='#tabList1'],a[href='#tabList2'],a[href='#tabList3']").click(function(){ var eventType = ""; var type = $(this).text();