@@ -43,6 +43,13 @@
imageUploadUrl: ''
}
},
+ mounted: function () {
+ this.$nextTick(() => {
+ if (!this.$store.state.option.user.logged) {
+ this.$router.push('/auth/login?returnUrl=' + window.location.href)
+ }
+ })
+ },
computed: {
getEmail () {
return this.$store.state.user.updateUser.email.data.content