Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
addInsured-AIA-POC
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
liujianghai
addInsured-AIA-POC
Commits
889a8ae0
Commit
889a8ae0
authored
Mar 04, 2020
by
marsandheart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lint
parent
8314396f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
DoubleRecord.jsx
src/pages/DoubleRecord.jsx
+3
-3
No files found.
src/pages/DoubleRecord.jsx
View file @
889a8ae0
...
@@ -396,7 +396,7 @@ export default function(props) {
...
@@ -396,7 +396,7 @@ export default function(props) {
// 调用app的语音暂停,点击问题的暂停按钮时候调用
// 调用app的语音暂停,点击问题的暂停按钮时候调用
const
voicePause
=
()
=>
{
const
voicePause
=
()
=>
{
// alert('暂停播放');
// alert('暂停播放');
console
.
log
(
'暂停播放'
)
console
.
log
(
'暂停播放'
)
;
if
(
!
window
.
webkit
)
{
if
(
!
window
.
webkit
)
{
alert
(
'window.webkit 未定义'
);
alert
(
'window.webkit 未定义'
);
return
;
return
;
...
@@ -407,7 +407,7 @@ export default function(props) {
...
@@ -407,7 +407,7 @@ export default function(props) {
// 调用app的暂停后继续播放方法
// 调用app的暂停后继续播放方法
const
voiceContinue
=
()
=>
{
const
voiceContinue
=
()
=>
{
// alert('继续播放');
// alert('继续播放');
console
.
log
(
'继续播放'
)
console
.
log
(
'继续播放'
)
;
if
(
!
window
.
webkit
)
{
if
(
!
window
.
webkit
)
{
alert
(
'window.webkit 未定义'
);
alert
(
'window.webkit 未定义'
);
return
;
return
;
...
@@ -418,7 +418,7 @@ export default function(props) {
...
@@ -418,7 +418,7 @@ export default function(props) {
// 调用app的语音停止,在跳转、翻页的时候调用,避免翻页后继续播放
// 调用app的语音停止,在跳转、翻页的时候调用,避免翻页后继续播放
const
voiceStop
=
()
=>
{
const
voiceStop
=
()
=>
{
// alert('停止播放');
// alert('停止播放');
console
.
log
(
'停止播放'
)
console
.
log
(
'停止播放'
)
;
if
(
!
window
.
webkit
)
{
if
(
!
window
.
webkit
)
{
alert
(
'window.webkit 未定义'
);
alert
(
'window.webkit 未定义'
);
return
;
return
;
...
...
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