Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-syan-image-picker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
OpenSource
react-native-syan-image-picker
Commits
5841717f
Unverified
Commit
5841717f
authored
Mar 30, 2018
by
CookieJ
Committed by
GitHub
Mar 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o(╯□╰)o 格式更新
parent
ab9db089
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
README.md
README.md
+2
-0
No files found.
README.md
View file @
5841717f
...
...
@@ -157,6 +157,7 @@ enableBase64 | bool | 是 | false | 是否返回base64编码,默
##
返回结果说明
以
`
Callback
`
形式调用时,返回的第一个参数为错误对象,第二个才是图片数组:
属性名
|
类型
|
描述
----------------
|
------
|
-----------
error
|
object
|
取消拍照时不为
null
,此时
`
error
.
message
`
==
'取消'
...
...
@@ -165,6 +166,7 @@ photos | array | 选择的图片数组
而以
`
Promise
`
形式调用时,则直接返回图片数组,在
`
catch
`
中去处理取消选择的情况。
下面是每张图片对象所包含的属性:
属性名
|
类型
|
描述
----------------
|
------
|
-----------
width
|
int
|
图片宽度
...
...
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