2020-01-30 04:37:25 +09:00
|
|
|
<template>
|
2020-10-17 20:12:00 +09:00
|
|
|
<div>
|
|
|
|
<XDrive ref="drive" @cd="x => folder = x"/>
|
2020-01-30 04:37:25 +09:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2022-01-14 23:23:08 +09:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import { computed } from 'vue';
|
2022-08-31 00:24:33 +09:00
|
|
|
import XDrive from '@/components/MkDrive.vue';
|
2021-11-12 02:02:25 +09:00
|
|
|
import * as os from '@/os';
|
2022-01-14 23:23:08 +09:00
|
|
|
import { i18n } from '@/i18n';
|
2022-06-20 17:38:49 +09:00
|
|
|
import { definePageMetadata } from '@/scripts/page-metadata';
|
2020-01-30 04:37:25 +09:00
|
|
|
|
2022-01-14 23:23:08 +09:00
|
|
|
let folder = $ref(null);
|
2020-01-30 04:37:25 +09:00
|
|
|
|
2022-06-20 17:38:49 +09:00
|
|
|
const headerActions = $computed(() => []);
|
|
|
|
|
|
|
|
const headerTabs = $computed(() => []);
|
|
|
|
|
|
|
|
definePageMetadata(computed(() => ({
|
|
|
|
title: folder ? folder.name : i18n.ts.drive,
|
2022-11-07 10:33:52 +09:00
|
|
|
icon: 'ph-cloud',
|
2022-06-20 17:38:49 +09:00
|
|
|
hideHeader: true,
|
|
|
|
})));
|
2020-01-30 04:37:25 +09:00
|
|
|
</script>
|