소스 검색

update pages/index/login.vue.
移除回调,用法错误

Signed-off-by: 天痕 <614891294@qq.com>

天痕 1 년 전
부모
커밋
f6fefe3aef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/index/login.vue

+ 1 - 1
pages/index/login.vue

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