forked from mirror/misskey
[Client] Fix bug
This commit is contained in:
parent
ae6293cb6b
commit
4dcb15ef0d
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<mk-window ref="window" is-modal width="800px" height="500px" @closed="destroyDom">
|
<mk-window ref="window" is-modal width="800px" height="500px" @closed="destroyDom">
|
||||||
<span slot="header">
|
<span slot="header">
|
||||||
<span v-html="title" :class="$style.title"></span>
|
<span :class="$style.title">{{ $t('choose-prompt') }}</span>
|
||||||
<span :class="$style.count" v-if="multiple && files.length > 0">({{ $t('chosen-files', { count: files.length }) }})</span>
|
<span :class="$style.count" v-if="multiple && files.length > 0">({{ $t('chosen-files', { count: files.length }) }})</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
@ -28,9 +28,6 @@ export default Vue.extend({
|
|||||||
props: {
|
props: {
|
||||||
multiple: {
|
multiple: {
|
||||||
default: false
|
default: false
|
||||||
},
|
|
||||||
title: {
|
|
||||||
default: () => this.$t('choose-prompt')
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<mk-window ref="window" is-modal width="800px" height="500px" @closed="destroyDom">
|
<mk-window ref="window" is-modal width="800px" height="500px" @closed="destroyDom">
|
||||||
<span slot="header">
|
<span slot="header">
|
||||||
<span v-html="title" :class="$style.title"></span>
|
<span :class="$style.title">{{ $t('choose-prompt') }}</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<mk-drive
|
<mk-drive
|
||||||
@ -21,11 +21,6 @@ import Vue from 'vue';
|
|||||||
import i18n from '../../../i18n';
|
import i18n from '../../../i18n';
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
i18n: i18n('desktop/views/components/choose-folder-from-drive-window.vue'),
|
i18n: i18n('desktop/views/components/choose-folder-from-drive-window.vue'),
|
||||||
props: {
|
|
||||||
title: {
|
|
||||||
default: () => this.$t('choose-prompt')
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
ok() {
|
ok() {
|
||||||
this.$emit('selected', (this.$refs.browser as any).folder);
|
this.$emit('selected', (this.$refs.browser as any).folder);
|
||||||
|
Loading…
Reference in New Issue
Block a user