d5d0e1036b
* docs: add docs * ignore dumi theme test * fix: error TS2717: Subsequent property declarations must have the same type. * update docs * deploy gh-pages * plugins docs * hash & cname * exportStatic * ssr * vercel * vercel * fix: deploy vercel * Delete vercel.json * docs * fix APP_DIST * on master branch
491 B
491 B
title |
---|
@nocobase/plugin-file-manager |
@nocobase/plugin-file-manager
文件管理器
安装
yarn nocobase pull file-manager --start
Field Interfaces
attachment
附件字段
Action API
upload
文件上传
// 文件管理器接口
await api.resource('attachments').upload({});
// 附件字段接口
await api.resource('users.avatar').upload({
associatedKey: 1,
});
Storages
local
本地存储
ali-oss
阿里云 OSS