feat: move page

This commit is contained in:
NGPixel committed 2019-10-13 19:59:50 -04:00
1 parent daa8174d7f
commit 62d1d7a1df
23 files changed
+451 -99

No files matched your search

+5
View File
@@ -249,6 +249,11 @@ export default {
style: 'success',
icon: 'check'
})
if (this.locale !== this.$store.get('page/locale') || this.path !== this.$store.get('page/path')) {
_.delay(() => {
window.location.replace(`/e/${this.$store.get('page/locale')}/${this.$store.get('page/path')}`)
}, 1000)
}
} else {
throw new Error(_.get(resp, 'responseResult.message'))
}