Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fe-app-h5
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
万亚飞
fe-app-h5
Commits
25972d74
Commit
25972d74
authored
May 28, 2019
by
万亚飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fac43759
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
Upload.js
src/Components/common/Upload/Upload.js
+8
-1
No files found.
src/Components/common/Upload/Upload.js
View file @
25972d74
...
...
@@ -126,7 +126,14 @@ class UpLoad extends Component {
<
div
className
=
"photo-wrap"
>
<
ImagePicker
onAddImageClick
=
{
e
=>
{
if
(
this
.
state
.
appInfo
.
v
<=
'2.2.50'
&&
isIOS
)
{
let
version
=
this
.
state
.
appInfo
.
v
;
let
vk
=
Object
.
keys
(
this
.
state
.
appInfo
).
filter
(
item
=>
{
return
item
.
indexOf
(
'accessToken='
)
>
-
1
;
})[
0
];
if
(
!!
vk
)
{
version
=
this
.
state
.
appInfo
[
vk
];
}
if
(
version
<=
'2.2.50'
&&
isIOS
)
{
e
.
preventDefault
();
Modal
.
alert
(
'您的APP版本太低,升级后可使用上传图片功能'
);
}
...
...
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