Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TO BE FIXED: 語言自從重置 #38

Open
YanzhenHuang opened this issue Aug 17, 2024 · 0 comments
Open

TO BE FIXED: 語言自從重置 #38

YanzhenHuang opened this issue Aug 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@YanzhenHuang
Copy link
Member

用於語言設定的存儲使用了Session Storage。
upload方法中使用了window.location.href,這會導致會話重啓,從而頁面語言又變成默認語言。

可利用閉包將router.push回調函數傳入upload方法來解決這個問題。

@YanzhenHuang YanzhenHuang added the bug Something isn't working label Aug 17, 2024
@YanzhenHuang YanzhenHuang self-assigned this Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant