Move filemanager/ to frontend/
This commit is contained in:
27
frontend/src/FileManager.vue
Normal file
27
frontend/src/FileManager.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<ConfirmDialog/>
|
||||
<router-view></router-view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import ConfirmDialog from 'primevue/confirmdialog';
|
||||
|
||||
export default {
|
||||
components: { ConfirmDialog },
|
||||
data() {
|
||||
return {
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
if (!localStorage.token) {
|
||||
if (import.meta.env.BASE_URL !== '/') window.location.href = '/';
|
||||
else console.error('Set localStorage.token')
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
</style>
|
||||
Reference in New Issue
Block a user