zhaoxiaohai 3 년 전
부모
커밋
f930e52794
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/tabbar/mine/index.js

+ 1 - 1
pages/tabbar/mine/index.js

@@ -66,7 +66,7 @@ Page({
                 title: '退出成功'
             });
             let loginMsg = wx.getStorageSync("loginMsg");
-            wx.clearStorage();
+            wx.clearStorageSync();
             wx.setStorageSync('loginMsg', loginMsg)
             setTimeout(() => {
                 wx.reLaunch({