Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-customer-new-master
Commits
91ac125d
Commit
91ac125d
authored
Dec 19, 2024
by
Smile
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h5切换语言强制刷新页面
parent
24b2279c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
0 deletions
+12
-0
login.vue
src/pages/deletion/login.vue
+3
-0
login.vue
src/pages/login/login.vue
+3
-0
shareRegister.vue
src/pages/register/shareRegister.vue
+3
-0
site.vue
src/pages/site/site.vue
+3
-0
No files found.
src/pages/deletion/login.vue
View file @
91ac125d
...
@@ -220,6 +220,9 @@ export default {
...
@@ -220,6 +220,9 @@ export default {
this
.
getLeviteData
()
this
.
getLeviteData
()
uni
.
setStorageSync
(
'
locale
'
,
data
)
uni
.
setStorageSync
(
'
locale
'
,
data
)
this
.
$lang
.
setLang
(
data
)
this
.
$lang
.
setLang
(
data
)
// #ifdef H5
window
.
location
.
reload
();
// #endif
},
},
getLeviteData
()
{
getLeviteData
()
{
let
that
=
this
let
that
=
this
...
...
src/pages/login/login.vue
View file @
91ac125d
...
@@ -237,6 +237,9 @@ export default {
...
@@ -237,6 +237,9 @@ export default {
uni
.
setStorageSync
(
'
locale
'
,
data
)
uni
.
setStorageSync
(
'
locale
'
,
data
)
uni
.
setLocale
(
data
);
uni
.
setLocale
(
data
);
this
.
$lang
.
setLang
(
data
)
this
.
$lang
.
setLang
(
data
)
// #ifdef H5
window
.
location
.
reload
();
// #endif
},
},
getLeviteData
()
{
getLeviteData
()
{
let
that
=
this
let
that
=
this
...
...
src/pages/register/shareRegister.vue
View file @
91ac125d
...
@@ -150,6 +150,9 @@ export default {
...
@@ -150,6 +150,9 @@ export default {
// this.getLeviteData()
// this.getLeviteData()
uni
.
setStorageSync
(
'
locale
'
,
data
)
uni
.
setStorageSync
(
'
locale
'
,
data
)
this
.
$lang
.
setLang
(
data
)
this
.
$lang
.
setLang
(
data
)
// #ifdef H5
window
.
location
.
reload
();
// #endif
},
},
handleDownload
()
{
handleDownload
()
{
if
(
uni
.
getSystemInfoSync
().
platform
===
'
android
'
)
{
if
(
uni
.
getSystemInfoSync
().
platform
===
'
android
'
)
{
...
...
src/pages/site/site.vue
View file @
91ac125d
...
@@ -425,6 +425,9 @@ export default {
...
@@ -425,6 +425,9 @@ export default {
uni
.
setStorageSync
(
'
locale
'
,
data
)
uni
.
setStorageSync
(
'
locale
'
,
data
)
uni
.
setLocale
(
data
);
uni
.
setLocale
(
data
);
this
.
$lang
.
setLang
(
data
)
this
.
$lang
.
setLang
(
data
)
// #ifdef H5
window
.
location
.
reload
();
// #endif
this
.
getIdcard
()
this
.
getIdcard
()
;(
this
.
companyNotice
=
this
.
$lang
.
lang
.
site
.
unauth
),
;(
this
.
companyNotice
=
this
.
$lang
.
lang
.
site
.
unauth
),
uni
.
showToast
({
uni
.
showToast
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment