Commit 9dad8a6dc10f964f94e87b15f873993991ab191f

Authored by fengtao
1 parent 3b4eca1e

fix:移除框架作者判断是否登录代码

Showing 1 changed file with 1 additions and 24 deletions
@@ -128,30 +128,7 @@ export const judgeLogin = (callback) => { @@ -128,30 +128,7 @@ export const judgeLogin = (callback) => {
128 } 128 }
129 if (!storeUserInfo.isToken) { 129 if (!storeUserInfo.isToken) {
130 // #ifdef MP 130 // #ifdef MP
131 - return uni.$u.toast('请登录')  
132 - // uni.$showModal({  
133 - // title: "登录提示",  
134 - // confirmVal: '去登录',  
135 - // cancelVal: '再逛会',  
136 - // content: '此时此刻需要您登录喔~',  
137 - // }).then(res => {  
138 - // uni.navigateTo({  
139 - // url: "/pages/personal/login"  
140 - // });  
141 - // }).catch(res => {})  
142 - // store.commit('setLoginPopupShow', true);  
143 - // #endif  
144 - // #ifdef APP-PLUS  
145 - uni.$showModal({  
146 - title: "登录提示",  
147 - confirmVal: '去登录',  
148 - cancelVal: '再逛会',  
149 - content: '此时此刻需要您登录喔~',  
150 - }).then(res => {  
151 - uni.navigateTo({  
152 - url: "/pages/personal/login"  
153 - });  
154 - }).catch(res => {}) 131 + return
155 // #endif 132 // #endif
156 // #ifdef H5 133 // #ifdef H5
157 h5Login(); 134 h5Login();