Explorar el Código

Merge branch 'master' of qk:zhuishuyun/precise_delivery_distribution_front

xia hace 4 años
padre
commit
ab22fee2f6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/Login.vue

+ 1 - 1
src/views/Login.vue

@@ -74,7 +74,7 @@ const Login = defineComponent({
       data.loading = true;
       await store.dispatch(ActionType.doLogin, data.forms);
       data.loading = false;
-      router.replace("/");
+      location.reload();
     };
 
     return { ...toRefs(data), onLogin };