release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
1 changed files with 2 additions and 7 deletions
Showing only changes of commit 82d88f50d0 - Show all commits

View File

@ -34,12 +34,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { import { defineComponent, ref, onUnmounted } from '@vue/composition-api';
defineComponent,
ref,
onMounted,
onUnmounted,
} from '@vue/composition-api';
export default defineComponent({ export default defineComponent({
name: 'Offline', name: 'Offline',
@ -49,7 +44,7 @@ export default defineComponent({
reload.value -= 1; reload.value -= 1;
if (reload.value === 0) { if (reload.value === 0) {
const path = <string | null>root.$route.query.redirect || '/login'; const path = <string | null>root.$route.query.redirect || '/login';
root.$router.replace({ path: path }); void root.$router.replace({ path: path });
} }
}, 1000); }, 1000);
onUnmounted(() => clearInterval(ival)); onUnmounted(() => clearInterval(ival));