Browse Source

!49 update pages/index/login.vue.
Merge pull request !49 from 天痕/N/A

芋道源码 1 year ago
parent
commit
b7c38be5b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/index/login.vue

+ 1 - 1
pages/index/login.vue

@@ -26,7 +26,7 @@
     // 检测 H5 登录回调
     // 检测 H5 登录回调
     let returnUrl = uni.getStorageSync('returnUrl');
     let returnUrl = uni.getStorageSync('returnUrl');
     if (returnUrl) {
     if (returnUrl) {
-      uni.removeStorage('returnUrl');
+      uni.removeStorage({key:'returnUrl'});
       location.replace(returnUrl);
       location.replace(returnUrl);
     } else {
     } else {
       uni.switchTab({
       uni.switchTab({