Commit 4317f9a1 authored by liujiangnan's avatar liujiangnan

debug

parent 29eefd1b
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
<link href="./index.css" rel="stylesheet"> <link href="./index.css" rel="stylesheet">
<script type="text/javascript"src="//staging-teach.cdn.ireadabc.com/h5template/h5-static-lib/js/air_online_open.js"></script> <script type="text/javascript"src="//staging-teach.cdn.ireadabc.com/h5template/h5-static-lib/js/air_online_open.js"></script>
<script src='https://cdn.bootcss.com/vConsole/3.2.2/vconsole.min.js' type="text/javascript" charset="utf-8"></script> <!-- <script src='https://cdn.bootcss.com/vConsole/3.2.2/vconsole.min.js' type="text/javascript" charset="utf-8"></script>
<script> <script>
window.vConsole = new window.VConsole() window.vConsole = new window.VConsole()
</script> </script> -->
</head> </head>
<body> <body>
......
...@@ -481,7 +481,7 @@ function bindRecorderBtn() { ...@@ -481,7 +481,7 @@ function bindRecorderBtn() {
let progressValue = $("#progressbar").attr("data-value"); let progressValue = $("#progressbar").attr("data-value");
let newValue = parseFloat(progressValue) + parseFloat(tempProgressValue); let newValue = parseFloat(progressValue) + parseFloat(tempProgressValue);
console.log(newValue); // console.log(newValue);
//绘制滚动条 //绘制滚动条
drawProgress($("#progressbar"), newValue); drawProgress($("#progressbar"), newValue);
...@@ -506,7 +506,7 @@ function bindRecorderBtn() { ...@@ -506,7 +506,7 @@ function bindRecorderBtn() {
refreshProgress(); refreshProgress();
//开始录制 //开始录制
cw.startRecord(keyWord); // cw.startRecord(keyWord);
} else { } else {
$(".recorder-play-icon .recorder-pause").hide(); $(".recorder-play-icon .recorder-pause").hide();
...@@ -519,6 +519,7 @@ function bindRecorderBtn() { ...@@ -519,6 +519,7 @@ function bindRecorderBtn() {
if (started) { if (started) {
clearInterval(started); clearInterval(started);
} }
return;
cw.stopRecord(0, function (data) { cw.stopRecord(0, function (data) {
//录完后,显示撤销按钮 //录完后,显示撤销按钮
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment