mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-20 05:21:22 +02:00
Merge pull request #155 from DaehunGwak/quiz-app/empty-locale
fix empty locale option when first created (quiz-app)
This commit is contained in:
@@ -38,7 +38,9 @@ export default {
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.locale = this.$route.query.loc;
|
||||
if (this.$route.query.loc) {
|
||||
this.locale = this.$route.query.loc;
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user