Sign in
梁美英
/
programming
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
a04d3458487085db83a5003cc293dc5aac7dab52
Authored by
ykxie
2017-07-26 19:20:35 +0800
1 parent
5d08ed5c
自动播放
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
dist/gxb-ide/Dir.js
dist/v1.1/player.html
src/gxb-ide/Dir.js
dist/gxb-ide/Dir.js
View file @
a04d345
...
...
@@ -643,7 +643,9 @@
643
643
})
644
644
}else{
645
645
$('.play-code').show();
646
- CodingEditer.playCoding();
646
+ if (role == 0) {
647
+ CodingEditer.playCoding();
648
+ }
647
649
}
648
650
649
651
},
...
...
dist/v1.1/player.html
View file @
a04d345
...
...
@@ -224,9 +224,7 @@
224
224
<script>
225
225
$(function(){
226
226
window.pauseAudio = function(){
227
- alert('999999')
228
227
$.AudioPlayer.pause();
229
- alert('00000')
230
228
}
231
229
})
232
230
</script>
...
...
src/gxb-ide/Dir.js
View file @
a04d345
...
...
@@ -643,7 +643,9 @@
643
643
})
644
644
}else{
645
645
$('.play-code').show();
646
- CodingEditer.playCoding();
646
+ if (role == 0) {
647
+ CodingEditer.playCoding();
648
+ }
647
649
}
648
650
649
651
},
...
...