fix: safari切换语言不刷新页面修复

This commit is contained in:
dataeaseShu 2023-02-09 18:00:11 +08:00
parent fb61c10f11
commit f416dc9d3d

View File

@ -192,7 +192,7 @@ const actions = {
setLanguage({ commit }, language) { setLanguage({ commit }, language) {
languageApi(language).then(() => { languageApi(language).then(() => {
commit('SET_LANGUAGE', language) commit('SET_LANGUAGE', language)
router.go(0) location.reload()
}) })
}, },
setLinkToken({ commit }, linkToken) { setLinkToken({ commit }, linkToken) {