UNPKG
@efox/upload-file
Version:
latest (0.2.11)
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
支持所有类型的文件上传到腾讯云,上传完成上报文件MD5、类型、URL、项目名称、用户uid
@efox/upload-file
/
src
/
package
/
index.js
15 lines
(13 loc)
•
278 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
EfoxUploadFile
from
'./main'
import
{ setConfig }
from
'./api/config'
const
plugin = {
install
:
function
(
Vue, options
) {
Vue
.
component
(
EfoxUploadFile
.
name
,
EfoxUploadFile
)
setConfig
(options) } }
export
{ plugin
as
default
,
EfoxUploadFile
, setConfig }