style: eslint code

This commit is contained in:
xiaoxian521
2021-08-30 20:58:32 +08:00
parent a2b200f5f2
commit e85f36b76e
6 changed files with 38 additions and 52 deletions

View File

@@ -5,9 +5,9 @@
</template>
<script>
import { ElConfigProvider } from "element-plus"
import zhCn from "element-plus/lib/locale/lang/zh-cn"
import en from "element-plus/lib/locale/lang/en"
import { ElConfigProvider } from "element-plus";
import zhCn from "element-plus/lib/locale/lang/zh-cn";
import en from "element-plus/lib/locale/lang/en";
export default {
name: "app",
components: {
@@ -18,9 +18,9 @@ export default {
currentLocale() {
switch (this.$storage.locale?.locale) {
case "zh":
return zhCn
return zhCn;
case "en":
return en
return en;
}
}
}