feat(client): Implement default upload folder setting

Resolve #5985
This commit is contained in:
syuilo
2020-04-22 00:34:56 +09:00
parent e72011f1da
commit 1f998168e2
11 changed files with 140 additions and 208 deletions

View File

@@ -3,6 +3,7 @@ import DriveWindow from '../components/drive-window.vue';
export function selectDriveFile($root: any, multiple) {
return new Promise((res, rej) => {
const w = $root.new(DriveWindow, {
type: 'file',
multiple
});
w.$once('selected', files => {