File tree Expand file tree Collapse file tree 16 files changed +56
-30
lines changed Expand file tree Collapse file tree 16 files changed +56
-30
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ components/demos
9
9
dist
10
10
logs
11
11
assets /data
12
+ .vercel
Original file line number Diff line number Diff line change
1
+ node-options = " --openssl-legacy-provider --max_old_space_size=4096"
Original file line number Diff line number Diff line change
1
+ export const config = {
2
+ runtime : 'edge'
3
+ }
4
+
5
+ export default async function handler ( ) {
6
+ return new Response (
7
+ JSON . stringify ( {
8
+ success : true
9
+ } ) ,
10
+ {
11
+ status : 200 ,
12
+ headers : {
13
+ 'content-type' : 'application/json'
14
+ }
15
+ }
16
+ )
17
+ }
Original file line number Diff line number Diff line change 5
5
v-model =" images"
6
6
:controls =" controls"
7
7
type =" image"
8
- action =" https://app.fakejson.com/q/ELymQ7xh?token=AWFkjMICPSAB_bO_z-Lnog "
8
+ action =" /api/upload "
9
9
@star =" handleStar"
10
10
/>
11
11
</section >
Original file line number Diff line number Diff line change 10
10
:upload =" upload"
11
11
@moveright =" handleMoveRight"
12
12
>
13
- <template #desc >
13
+ <template #help >
14
14
点击图片浮层上的向右箭头按钮改变图片位置
15
15
</template >
16
16
</veui-uploader >
@@ -27,7 +27,7 @@ export default {
27
27
},
28
28
data () {
29
29
return {
30
- action: ' https://app.fakejson.com/q/ELymQ7xh?token=AWFkjMICPSAB_bO_z-Lnog ' ,
30
+ action: ' /upload ' ,
31
31
images: [
32
32
{
33
33
key: 0 ,
Original file line number Diff line number Diff line change 5
5
v-model =" images"
6
6
:entries =" entries"
7
7
type =" image"
8
- action =" https://app.fakejson.com/q/ELymQ7xh?token=AWFkjMICPSAB_bO_z-Lnog "
8
+ action =" /api/upload "
9
9
@star =" handleStar"
10
10
/>
11
11
</section >
Original file line number Diff line number Diff line change 4
4
<h4 >Normal size</h4 >
5
5
<veui-uploader
6
6
v-model =" files"
7
- action =" https://app.fakejson.com/q/ELymQ7xh?token=AWFkjMICPSAB_bO_z-Lnog "
7
+ action =" /api/upload "
8
8
/>
9
9
</section >
10
10
<section >
11
11
<h4 >Small size</h4 >
12
12
<veui-uploader
13
13
v-model =" files2"
14
- action =" https://app.fakejson.com/q/ELymQ7xh?token=AWFkjMICPSAB_bO_z-Lnog "
14
+ action =" /api/upload "
15
15
ui =" s"
16
16
/>
17
17
</section >
Original file line number Diff line number Diff line change 13
13
v-model =" files"
14
14
:help-position =" helpPosition"
15
15
help =" Help text"
16
- action =" https://app.fakejson.com/q/ELymQ7xh?token=AWFkjMICPSAB_bO_z-Lnog "
16
+ action =" /api/upload "
17
17
/>
18
18
<veui-uploader
19
19
v-model =" files"
20
20
:help-position =" helpPosition"
21
- action =" https://app.fakejson.com/q/ELymQ7xh?token=AWFkjMICPSAB_bO_z-Lnog "
21
+ action =" /api/upload "
22
22
>
23
- <template #help >Custom help text via `help` slot</template >
23
+ <template #help >
24
+ Custom help text via `help` slot
25
+ </template >
24
26
</veui-uploader >
25
27
</section >
26
28
</article >
Original file line number Diff line number Diff line change 5
5
<veui-uploader
6
6
v-model =" images"
7
7
type =" image"
8
- action =" https://app.fakejson.com/q/ELymQ7xh?token=AWFkjMICPSAB_bO_z-Lnog "
8
+ action =" /api/upload "
9
9
>
10
- <template #desc >
10
+ <template #help >
11
11
Normal size
12
12
</template >
13
13
</veui-uploader >
17
17
<veui-uploader
18
18
v-model =" images2"
19
19
type =" image"
20
- action =" https://app.fakejson.com/q/ELymQ7xh?token=AWFkjMICPSAB_bO_z-Lnog "
20
+ action =" /api/upload "
21
21
ui =" s"
22
22
>
23
- <template #desc >
23
+ <template #help >
24
24
Small size
25
25
</template >
26
26
</veui-uploader >
Original file line number Diff line number Diff line change 5
5
<veui-uploader
6
6
v-model =" media"
7
7
type =" media"
8
- action =" https://app.fakejson.com/q/ELymQ7xh?token=AWFkjMICPSAB_bO_z-Lnog "
8
+ action =" /api/upload "
9
9
>
10
- <template #desc >
10
+ <template #help >
11
11
Normal size
12
12
</template >
13
13
</veui-uploader >
17
17
<veui-uploader
18
18
v-model =" media2"
19
19
type =" media"
20
- action =" https://app.fakejson.com/q/ELymQ7xh?token=AWFkjMICPSAB_bO_z-Lnog "
20
+ action =" /api/upload "
21
21
ui =" s"
22
22
>
23
- <template #desc >
23
+ <template #help >
24
24
Small size
25
25
</template >
26
26
</veui-uploader >
You can’t perform that action at this time.
0 commit comments