This website works better with JavaScript.
首頁
探索
說明
登入
kj
/
kxip-app
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Force reload the page on login
master
kj1352
4 年之前
父節點
78a5d4c80b
當前提交
9c9b14e5aa
共有
2 個文件被更改
,包括
6 次插入
和
2 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/app/home/home.page.ts
+5
-1
src/app/welcome/welcome.page.ts
+ 1
- 1
src/app/home/home.page.ts
查看文件
@@ -124,7 +124,7 @@ export class HomePage implements OnInit {
}, (err) => {
console.log(err);
this.toastService.presentToastWithOptions("Failed to get Gallery data", "danger");
});
});
}
ionViewDidEnter() {
+ 5
- 1
src/app/welcome/welcome.page.ts
查看文件
@@ -17,8 +17,12 @@ export class WelcomePage implements OnInit {
if (localStorage.getItem('FBUser')) {
this.user = JSON.parse(localStorage.getItem('FBUser'));
setTimeout(() => {
setTimeout(() => {
this.location.back();
setTimeout(() => {
location.reload();
}, 200);
}, 3000);
} else {
Write
Preview
Loading…
取消
儲存