@@ -7,6 +7,10 @@ function goNext(path){
router.push(path)
}
+if(!localStorage.getItem('token')){
+ router.replace('/login')
+}
+
</script>
<template>