baichengfei hace 5 años
padre
commit
552f280822
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/dashoo.cn/frontend_web/src/layouts/error.vue

+ 1 - 1
src/dashoo.cn/frontend_web/src/layouts/error.vue

@@ -17,7 +17,7 @@ export default {
   created () {
     if (this.error.statusCode === 500 && this.error.message.indexOf('Loading chunk') === 0) {
       console.log('Loading chunk 26 failed')
-      this.$router.replace('/')
+      this.$router.redirect('/')
     }
   },
   head () {