Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
merchant-manage-ui
Commits
0a987b1f
Commit
0a987b1f
authored
Apr 25, 2023
by
陈万宝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:去掉裁剪功能
parent
e500267c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
FormTakeaway.jsx
src/pages/ServiceGoods/components/FormTakeaway.jsx
+3
-3
UploadCropImage.jsx
src/pages/ServiceGoods/components/UploadCropImage.jsx
+0
-1
No files found.
src/pages/ServiceGoods/components/FormTakeaway.jsx
View file @
0a987b1f
...
...
@@ -33,7 +33,7 @@ import { formItemLayout, ENUM_REPERTORY, ENUM_SET_REPERTORY, ENUM_WEEK } from '.
import
{
ServiceContext
}
from
'
../context
'
;
import
{
debounce
}
from
'
@/utils/utils
'
;
import
{
isCheckPriceTwoDecimal
,
isIntegerNotZero
}
from
'
@/utils/validator
'
;
import
Upload
CropImage
from
'
./UploadCrop
Image
'
;
import
Upload
Image
from
'
./Upload
Image
'
;
import
styles
from
'
../common.less
'
;
import
AddRepertoryModal
from
'
./AddRepertoryModal
'
;
import
{
apiTagList
,
apiUnits
}
from
'
../service
'
;
...
...
@@ -687,9 +687,9 @@ const TakeawayGoodsInfo = forwardRef((props, ref) => {
<Form.Item
name="detailImageList"
label="商品图片"
extra="支持.jpg/png格式图片,建议单张
切
片宽750像素,大小200kb左右,您可以拖拽图片调整顺序,最多上传5张。"
extra="支持.jpg/png格式图片,建议单张
图
片宽750像素,大小200kb左右,您可以拖拽图片调整顺序,最多上传5张。"
>
<Upload
Crop
Image
<UploadImage
name="detailImageList"
limit={5}
disabled={customer.isDisabled}
...
...
src/pages/ServiceGoods/components/UploadCropImage.jsx
View file @
0a987b1f
...
...
@@ -245,7 +245,6 @@ const UploadCropImage = forwardRef((props, ref) => {
quality=
{
0.5
}
showReset
showGrid
aspect=
{
limitPicHeight
?
100
/
1000
:
100
/
100
}
resetText=
"重置"
aspectSlider=
{
!!
limitPicHeight
}
>
...
...
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