Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
于良
8 years ago
Commit
c53d8914d1456a2f0b2decdb482aa0fa4b6327e9
1 parent
141d7844
删除log review by 草莓
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
12 deletions
js/home/services/HomeService.js
js/mine/reducers/mine/mineActions.js
js/newArrival/containers/NewArrivalContainer.js
js/qrcode/reducers/qrcode/qrcodeActions.js
js/home/services/HomeService.js
View file @
c53d891
...
...
@@ -93,11 +93,9 @@ export default class HomeService {
}
})
.
then
((
json
)
=>
{
console
.
log
(
json
);
return
json
;
})
.
catch
((
error
)
=>
{
console
.
log
(
error
);
throw
(
error
);
});
}
...
...
js/mine/reducers/mine/mineActions.js
View file @
c53d891
...
...
@@ -366,14 +366,11 @@ export function getMineUnreadMsg() {
let
{
isFetching
,
open
}
=
mine
;
let
funGetMineUnreadMsg
=
()
=>
{
console
.
log
(
'----getMineUnreadMsg-----'
);
return
new
MineService
(
app
.
singleHost
).
getMineUnreadMsg
()
.
then
(
json
=>
{
console
.
log
(
json
);
dispatch
(
getMineUnReadMsgSuccess
(
json
));
})
.
catch
(
error
=>
{
console
.
log
(
error
);
dispatch
(
getMineUnReadMsgFailure
());
});
};
...
...
js/newArrival/containers/NewArrivalContainer.js
View file @
c53d891
...
...
@@ -91,7 +91,7 @@ class NewArrivalContainer extends Component {
}
_onPressDislike
()
{
console
.
log
(
'dislike....'
);
}
_onEndReached
()
{
...
...
js/qrcode/reducers/qrcode/qrcodeActions.js
View file @
c53d891
...
...
@@ -355,19 +355,14 @@ function processScanString(url,scanType) {
break
;
case
ScanTypeInfo
.
YHScanType_Default
:
{
if
(
url
.
indexOf
(
'skn:'
)
!==
-
1
)
{
console
.
log
(
'skn'
);
alertInfo
=
scanSkn
(
url
);
}
else
if
(
url
.
indexOf
(
'booth:'
)
!==
-
1
)
{
console
.
log
(
'booth'
);
alertInfo
=
scanBooth
(
url
);
}
else
if
(
url
.
indexOf
(
'bear:'
)
!==
-
1
)
{
console
.
log
(
'bear'
);
alertInfo
=
scanBear
(
url
);
}
else
if
(
url
.
indexOf
(
'yohobuy:'
)
!==
-
1
||
url
.
indexOf
(
'yohobuy='
)
!==
-
1
||
url
.
indexOf
(
'yohobuy='
)
!==
-
1
)
{
console
.
log
(
'yohobuy'
);
alertInfo
=
scanYohoBuy
(
url
);
}
else
if
(
url
.
indexOf
(
'http://'
)
!==
-
1
||
url
.
indexOf
(
'https://'
)
!==
-
1
)
{
console
.
log
(
'http&s'
);
alertInfo
=
scanAddressLink
(
url
);
}
else
{
alertInfo
=
{
...
...
@@ -415,7 +410,6 @@ export function processURL(scanString) {
export
function
jumpWithUrl
(
url
,
JumpType
)
{
if
(
!
url
)
{
console
.
log
(
'Illegal url'
);
return
;
}
...
...
Please
register
or
login
to post a comment