OSDN Git Service
(root)
/
bytom
/
Byone.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
04f1b09
)
fix
author
time
<diqiuxuxu@gmail.com>
Mon, 29 Oct 2018 16:12:32 +0000
(
00:12
+0800)
committer
time
<diqiuxuxu@gmail.com>
Mon, 29 Oct 2018 16:12:32 +0000
(
00:12
+0800)
src/popup/index.js
patch
|
blob
|
history
diff --git
a/src/popup/index.js
b/src/popup/index.js
index
e7bcfd3
..
bf91b4b
100644
(file)
--- a/
src/popup/index.js
+++ b/
src/popup/index.js
@@
-28,7
+28,7
@@
Vue.filter("moment", function(value, formatString) {
});
let lang = "cn";
-if (localStorage.lang) {
+if (localStorage.lang
!= undefined
) {
lang = localStorage.lang;
}
const i18n = new VueI18n({