Browse Source

未登录优化

john 2 years ago
parent
commit
8ed83b3a9a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/utils/index.js

+ 1 - 0
src/utils/index.js

@@ -159,6 +159,7 @@ export function wxToLoginCallback( path,callback ) {
       } else {
         console.log('刷新页面:callback');
         callback && callback(options);
+        uni.setStorageSync('oldPath','');
       }
     });
     return;