This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
hly
/
fission-star-applet-250304
generated from
hly/uniapp-shop-templates
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
chore: 更新.gitignore并优化图片上传配置
在.gitignore中添加yarn.lock以避免提交 在图片上传组件中设置compressed为false并使用原始尺寸
master
主管理员
3 weeks ago
parent
b74fb55fdf
commit
815fcc9388
3 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
.gitignore
+2
-0
pages_order/components/formUpload.vue
+1
-0
pages_order/record/articleSharing.vue
+ 2
- 1
.gitignore
View File
@ -11,4 +11,5 @@ package-lock.json
node_modules/
unpackage/
.hbuilderx
.vite
.vite
yarn.lock
+ 2
- 0
pages_order/components/formUpload.vue
View File
@ -6,6 +6,8 @@
:
width
=
"width"
:
height
=
"height"
:
previewImage
=
"false"
:
compressed
=
"false"
:
sizeType
=
"['original']"
@
afterRead
=
"afterRead"
@
delete
=
"deleteFile"
>
+ 1
- 0
pages_order/record/articleSharing.vue
View File
@ -211,6 +211,7 @@
insertImage
(
)
{
uni
.
chooseImage
(
{
count
:
1
,
sizeType
:
[
'original'
]
,
success
:
(
res
)
=>
{
/
/
t
h
i
s
.
e
d
i
t
o
r
C
t
x
.
i
n
s
e
r
t
I
m
a
g
e
(
{
/
/
s
r
c
:
r
e
s
.
t
e
m
p
F
i
l
e
P
a
t
h
s
[
0
]
,
Write
Preview
Loading…
Cancel
Save