rudeshark.net/packages/client/src/pages/drive.vue
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00

29 lines
519 B
Vue

<template>
<div>
<XDrive ref="drive" @cd="x => folder = x"/>
</div>
</template>
<script lang="ts">
import { computed, defineComponent } from 'vue';
import XDrive from '@/components/drive.vue';
import * as os from '@/os';
import * as symbols from '@/symbols';
export default defineComponent({
components: {
XDrive
},
data() {
return {
[symbols.PAGE_INFO]: {
title: computed(() => this.folder ? this.folder.name : this.$ts.drive),
icon: 'fas fa-cloud',
},
folder: null,
};
},
});
</script>