zhaoxiaohai 3 năm trước cách đây
mục cha
commit
f930e52794
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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({