| @@ -1,8 +1,8 @@ | ||||
| <template> | ||||
| <mk-window ref="window" @closed="destroyDom" width="800px" height="500px" :popout-url="popout"> | ||||
| 	<template slot="header"> | ||||
| 		<p v-if="usage" :class="$style.info"><b>{{ usage.toFixed(1) }}%</b> %i18n:@used%</p> | ||||
| 		<span :class="$style.title"><fa icon="cloud"/>%i18n:common.drive%</span> | ||||
| 		<p v-if="usage" :class="$style.info"><b>{{ usage.toFixed(1) }}%</b> {{ $t('used') }}</p> | ||||
| 		<span :class="$style.title"><fa icon="cloud"/>{{ $t('@.drive') }}</span> | ||||
| 	</template> | ||||
| 	<mk-drive :class="$style.browser" multiple :init-folder="folder" ref="browser"/> | ||||
| </mk-window> | ||||
| @@ -10,9 +10,11 @@ | ||||
|  | ||||
| <script lang="ts"> | ||||
| import Vue from 'vue'; | ||||
| import i18n from '../../../i18n'; | ||||
| import { url } from '../../../config'; | ||||
|  | ||||
| export default Vue.extend({ | ||||
| 	i18n: i18n('desktop/views/components/drive-window.vue'), | ||||
| 	props: ['folder'], | ||||
| 	data() { | ||||
| 		return { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo