Commit 0144613b41d7b4d5534fe235543e6ac420d10c81

Authored by ykxie
1 parent 1ddaa78a

fixbug

src/js/gb.js
... ... @@ -1231,7 +1231,7 @@ $(function() {
1231 1231 var programmingFileList = ZTREE.getTreeData();
1232 1232  
1233 1233  
1234   - var keepTimer = $('.recording-time').val()
  1234 + var keepTimer = round($('#audio')[0].duration);
1235 1235 var postData = {
1236 1236 "mainPath": mainPath,
1237 1237 "mainArgus": "lixxx",
... ... @@ -1271,6 +1271,7 @@ $(function() {
1271 1271 }
1272 1272 console.log('============');
1273 1273 console.log(postData);
  1274 + console.log(keepTimer);
1274 1275 $.ajax({
1275 1276 type: "post",
1276 1277 url: roleUrl,
... ... @@ -2018,7 +2019,7 @@ $(function() {
2018 2019 $(document).on('click', '#full-screen', function(event) {
2019 2020 event.preventDefault();
2020 2021 var fullData = $(this).data('full');
2021   - launchFullScreen(document.getElementById("app"));
  2022 + launchFullScreen(document.body);
2022 2023 $('#back-screen').show();
2023 2024 $('#full-screen').hide();
2024 2025 });
... ...
src/js/recorder/Myna.js
... ... @@ -154,6 +154,7 @@
154 154  
155 155 // 获取音频文件
156 156 this.getBlobData = function(){
  157 + console.log(audioData.encodeWAV());
157 158 return audioData.encodeWAV();
158 159 }
159 160  
... ...
src/js/util/util.js
... ... @@ -40,3 +40,7 @@ getCDNFile = function (cdnUrl) {
40 40 }
41 41 $w.utils = $w.utils || utils;
42 42 })(window, jQuery)
  43 +
  44 +window.console.log = function(){}
  45 +window.console.info = function(){}
  46 +
... ...