lrf402788946 %!s(int64=5) %!d(string=hai) anos
pai
achega
e7ab527640
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/loading.vue

+ 1 - 1
src/views/loading.vue

@@ -58,7 +58,7 @@ export default {
       let site = sessionStorage.getItem('site');
       if (!site) {
         let result = await this.getSite({ type: 'search' });
-        if (result.data === null) {
+        if (!_.isObject(result.data)) {
           this.$router.push('/fail');
         } else {
           sessionStorage.setItem('site', JSON.stringify(result.data));