add notes
This commit is contained in:
parent
3bbc89e0a2
commit
c7466a35ee
2 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ import { faUpload, faCloud } from '@fortawesome/free-solid-svg-icons';
|
|||
import { selectDriveFile } from './select-drive-file';
|
||||
import { apiUrl } from '../config';
|
||||
|
||||
// TODO: component引数は消せる(各種操作がstoreに移動し、かつstoreが複数ファイルで共有されるようになったため)
|
||||
export function selectFile(component: any, src: any, label: string | null, multiple = false) {
|
||||
return new Promise((res, rej) => {
|
||||
const chooseFileFromPc = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue