Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
react-native-geek-image-editor
Project
Project
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
huanglu
react-native-geek-image-editor
Commits
a1b26367
Commit
a1b26367
authored
Mar 23, 2020
by
hl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c3eae38a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
index.js
index.js
+5
-2
No files found.
index.js
View file @
a1b26367
...
@@ -10,13 +10,16 @@ function edit(json, callback) {
...
@@ -10,13 +10,16 @@ function edit(json, callback) {
console
.
log
(
'data'
)
console
.
log
(
'data'
)
console
.
log
(
data
)
console
.
log
(
data
)
try
{
try
{
let
backData
;
if
(
data
)
{
let
backData
=
null
;
if
(
Platform
.
OS
===
'ios'
)
{
if
(
Platform
.
OS
===
'ios'
)
{
backData
=
JSON
.
parse
(
data
)
backData
=
JSON
.
parse
(
data
)
}
else
{
}
else
{
if
(
data
.
result
)
{
if
(
data
.
result
)
{
callback
(
backData
)
backData
=
JSON
.
parse
(
data
.
result
)
}
}
}
callback
(
backData
)
}
}
}
catch
(
err
)
{
}
catch
(
err
)
{
console
.
log
(
err
)
console
.
log
(
err
)
...
...
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