Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: jaja sir
Added: Dec 11, 2019 9:51 AM
Views: 81
Tags: no tags
  1. mounted () {
  2.     const savedLocale = $context.storeGet('local/locale')
  3.     if (savedLocale !== this.$root.$i18n.locale) {
  4.       this.$root.$i18n.locale = savedLocale
  5.     }
  6.   },