OSDN Git Service

fix
authortime <diqiuxuxu@gmail.com>
Mon, 29 Oct 2018 16:12:32 +0000 (00:12 +0800)
committertime <diqiuxuxu@gmail.com>
Mon, 29 Oct 2018 16:12:32 +0000 (00:12 +0800)
src/popup/index.js

index e7bcfd3..bf91b4b 100644 (file)
@@ -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({