Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c809f65a
authored
Apr 25, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
压缩图片比率
parent
1baeccc3
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
pages/picking/record.vue
pages/picking/sort.vue
pages/stockRecheck/record.vue
pages/stockRecheck/sort.vue
pages/tallyReceive/index.vue
pages/tallyReceive/operate.vue
pages/tallyReceive/record.vue
pages/picking/record.vue
View file @
c809f65a
...
...
@@ -348,7 +348,7 @@
// 使用compressImage 压缩图片
uni
.
compressImage
({
src
:
imagePath
,
quality
:
5
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
quality
:
6
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
success
:
compressedRes
=>
{
console
.
log
(
'压缩图片成功:'
,
compressedRes
);
// 获取压缩后的图片路径
...
...
pages/picking/sort.vue
View file @
c809f65a
...
...
@@ -1072,7 +1072,7 @@
// 使用compressImage 压缩图片
uni
.
compressImage
({
src
:
imagePath
,
quality
:
5
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
quality
:
6
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
success
:
compressedRes
=>
{
console
.
log
(
'压缩图片成功:'
,
compressedRes
);
// 获取压缩后的图片路径
...
...
pages/stockRecheck/record.vue
View file @
c809f65a
...
...
@@ -355,7 +355,7 @@
// 使用compressImage 压缩图片
uni
.
compressImage
({
src
:
imagePath
,
quality
:
5
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
quality
:
6
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
success
:
compressedRes
=>
{
console
.
log
(
'压缩图片成功:'
,
compressedRes
);
// 获取压缩后的图片路径
...
...
pages/stockRecheck/sort.vue
View file @
c809f65a
...
...
@@ -937,7 +937,7 @@
// 使用compressImage 压缩图片
uni
.
compressImage
({
src
:
imagePath
,
quality
:
5
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
quality
:
6
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
success
:
compressedRes
=>
{
console
.
log
(
'压缩图片成功:'
,
compressedRes
);
// 获取压缩后的图片路径
...
...
pages/tallyReceive/index.vue
View file @
c809f65a
...
...
@@ -828,7 +828,7 @@
// 使用compressImage 压缩图片
uni
.
compressImage
({
src
:
imagePath
,
quality
:
5
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
quality
:
6
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
success
:
compressedRes
=>
{
console
.
log
(
'压缩图片成功:'
,
compressedRes
);
// 获取压缩后的图片路径
...
...
pages/tallyReceive/operate.vue
View file @
c809f65a
...
...
@@ -765,7 +765,7 @@
// 使用compressImage 压缩图片
uni
.
compressImage
({
src
:
imagePath
,
quality
:
5
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
quality
:
6
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
success
:
compressedRes
=>
{
console
.
log
(
'压缩图片成功:'
,
compressedRes
);
// 获取压缩后的图片路径
...
...
pages/tallyReceive/record.vue
View file @
c809f65a
...
...
@@ -904,7 +904,7 @@
// 使用compressImage 压缩图片
uni
.
compressImage
({
src
:
imagePath
,
quality
:
5
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
quality
:
6
0
,
//压缩质量,范围0~100,数值越小,质量越低,压缩率越高
success
:
compressedRes
=>
{
console
.
log
(
'压缩图片成功:'
,
compressedRes
);
// 获取压缩后的图片路径
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment