You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://github-tools.github.io/github-release-notes/)
4
9
5
10
This component can upload file to Aliyun-OSS easily.
6
11
@@ -11,53 +16,53 @@ You can configure OSS information through environmental variables, customize dom
11
16
## Table of Contents
12
17
13
18
*[Feature](#feature)
14
-
*[Documentation](#documentation)
19
+
*[Links](#links)
15
20
*[Install](#install)
16
21
*[Config](#config)
17
22
*[Dotenv](#dotenv)
23
+
*[Contributing](#contributing)
18
24
*[Contributors](#contributors)
25
+
*[License](#license)
19
26
20
27
## Feature
21
28
22
29
* Pure front-end implementation, no need for backend cooperation
23
-
* The upload function can be done with little oss configuration
30
+
* The upload function can be done with little oss configuration
24
31
* Automatically compress pictures before uploading, and loading prompts during uploading, support picture display and deletion
25
-
* With default styles and support customize
32
+
* With default styles and support customize
26
33
* Can limit the size or the number of files to upload
27
34
* Support paste screenshot to upload
28
-
* Can drag and drop to upload
35
+
* Can drag and drop to upload
29
36
* Can preivew img
30
37
31
-
**[⬆Back to Top](#table-of-contents)**
38
+
[⬆Back to Top](#table-of-contents)
32
39
40
+
## Links
33
41
34
-
## Documentation
35
-
36
-
*[Doc And Online Demo](https://femessage.github.io/upload-to-ali/)
The following props are required:`accessKeyId` - Created by Alibaba Cloud Console `accessKeyId`<br />`accessKeySecret` - Created by Alibaba Cloud Console `accessKeySecret`<br />`bucket` - Storage space name<br />`region` - Alibaba Cloud area name
53
58
54
59
[Be sure to set cross-domain and ACL before using](https://help.aliyun.com/document_detail/32069.html?spm=a2c4g.11186623.6.920.9ddd5557vJ6QU7)
55
60
56
-
**[⬆Back to Top](#table-of-contents)**
61
+
[⬆Back to Top](#table-of-contents)
57
62
58
63
## Dotenv
59
64
60
-
Recommend using environment variables to configure OSS parameters<br />With dotenv, we just need to write the environment variable in `.env`. With CI tools, this can meet the needs of using different OSS in different environments without change the source code.<br />Here are all can passed-in environment variables
65
+
Recommend using environment variables to configure OSS parameters<br />With dotenv, we just need to write the environment variable in `.env`. With CI tools, this can meet the needs of using different OSS in different environments without change the source code.<br />Here are all can passed-in environment variables
[](https://github-tools.github.io/github-release-notes/)
9
9
@@ -13,15 +13,16 @@
13
13
14
14
[English](./README-en.md)
15
15
16
-
## Table of Contents<!-- omit in toc -->
16
+
## Table of Contents
17
17
18
18
*[Feature](#feature)
19
-
*[Documentation](#documentation)
19
+
*[Links](#links)
20
20
*[Install](#install)
21
21
*[Config](#config)
22
22
*[Dotenv](#dotenv)
23
-
*[Reference](#reference)
23
+
*[Contributing](#contributing)
24
24
*[Contributors](#contributors)
25
+
*[License](#license)
25
26
26
27
## Feature
27
28
@@ -34,21 +35,22 @@
34
35
* 可拖拽上传
35
36
* 可预览图片
36
37
37
-
**[⬆ Back to Top](#table-of-contents)**
38
+
[⬆ Back to Top](#table-of-contents)
38
39
39
-
## Documentation
40
+
## Links
40
41
41
-
*[Doc And Online Demo](https://femessage.github.io/upload-to-ali/)
0 commit comments