Commit a9554ff8 by 李伟康

公共接口增加清空登录缓存

1 parent 92a02e1a
......@@ -17,13 +17,13 @@
</block>
</block>
<block wx:else>
<view class="list-not" bindtap="getListSelectAccount">
<view class="list-not text-center" bindtap="getListSelectAccount">
点击刷新
</view>
</block>
</block>
</view>
<view class="btn-box isFullSucreen">
<button class="button" bindtap="choiceAccountLogin">确定</button>
<button class="button" disabled="{{!loginUserInfoList.length}}" bindtap="choiceAccountLogin">确定</button>
</view>
</view>
\ No newline at end of file
......@@ -46,6 +46,8 @@ class Request {
data
} = response
if (code == 20 || code == 21) {
wx.$storage.rm('sessionId')
wx.$storage.rm('userInfo')
const thisPage = wx.$router.getPageInstance()
if(thisPage.route == 'login/loading/loading') {
resolve(data)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!